Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 172.9 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.782e-05, allocations: 3.406 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002535/0.002553, allocations: 1.788 MB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.003799, allocations: 1.003 MB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.003866, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.004198, allocations: 115.6 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.004451, allocations: 135.4 kB / 328.4 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.004585, allocations: 79.59 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.004741, allocations: 131.6 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.004814, allocations: 19.95 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.004907, allocations: 75.81 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.005001, allocations: 55.86 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.005018, allocations: 8 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.005119, allocations: 67.84 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.005176, allocations: 31.86 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.005217, allocations: 28.34 kB / 328.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.005411, allocations: 123.6 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005413, allocations: 0 / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.005415, allocations: 3.938 kB / 329 MB, free: 3.945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.00542, allocations: 0 / 329 MB, free: 3.945 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005473/0.005967, allocations: 361.2 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.006014, allocations: 12.03 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.006062, allocations: 20.86 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.006274, allocations: 154.5 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.006298, allocations: 4.375 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.006325, allocations: 4.375 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.006484, allocations: 69.75 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006496, allocations: 3.938 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.006505, allocations: 4 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006512, allocations: 0 / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.006554, allocations: 15.92 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.006801, allocations: 185.9 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.006957, allocations: 93.39 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.006978, allocations: 24.92 kB / 329.9 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.00699, allocations: 3.984 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.375e-05/0.007073, allocations: 74.11 kB / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.007074, allocations: 0 / 330 MB, free: 2.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.00039/0.007464, allocations: 186.4 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.007499, allocations: 55.41 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.007632, allocations: 217.2 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.007652, allocations: 29.7 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.007689, allocations: 100.1 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.007721, allocations: 39.62 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.007755, allocations: 29.69 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.007838, allocations: 330.7 kB / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.007862, allocations: 18.81 kB / 331 MB, free: 1.789 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.007892, allocations: 33.69 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.007945, allocations: 56.05 kB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007946, allocations: 4 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.016e-05/0.008037, allocations: 89.91 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.008049, allocations: 4 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008053, allocations: 0 / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.008068, allocations: 4 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.008124, allocations: 23.98 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008127, allocations: 0 / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.008153, allocations: 11.94 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.00816, allocations: 4.688 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.008234, allocations: 124.6 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.008249, allocations: 11.98 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.008368, allocations: 103.1 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.008371, allocations: 4 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-06/0.008372, allocations: 0 / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008376, allocations: 0 / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.008636, allocations: 344.1 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008638, allocations: 7.938 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.008672, allocations: 15.98 kB / 331.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008675, allocations: 8.062 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.008681, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.008682, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.008686, allocations: 7.938 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.008801, allocations: 241 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.008816, allocations: 19.89 kB / 332.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.008831, allocations: 4 kB / 332.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.008871, allocations: 4 kB / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.0089, allocations: 7.984 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.008915, allocations: 15.92 kB / 332.1 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.285e-05/0.008968, allocations: 69.94 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008968, allocations: 0 / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.009116, allocations: 35.92 kB / 332.2 MB, free: 472 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.01039, allocations: 0.6514 MB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.01049, allocations: 64.7 kB / 332.9 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01049, allocations: 0 / 332.9 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.01053, allocations: 40.77 kB / 333 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.0107, allocations: 39.16 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.01103, allocations: 281 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.01107, allocations: 83.72 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.01111, allocations: 17.14 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.01118, allocations: 79.34 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01118, allocations: 4 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of Templates: time 0.003563/0.01474, allocations: 2.46 MB / 335.9 MB, free: 13.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8884462430141866]