Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001238, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1807/0.1807, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2689, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002496/0.2714, allocations: 1.568 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005748/0.272, allocations: 400.6 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.2721, allocations: 5.281 kB / 0.5208 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.2722, allocations: 24.08 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.2724, allocations: 34.06 kB / 0.5209 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2727, allocations: 92.2 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2728, allocations: 54.61 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.2729, allocations: 12.16 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.2729, allocations: 22.59 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.721e-05/0.273, allocations: 19.98 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.273, allocations: 6.281 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.2731, allocations: 29.61 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.2731, allocations: 16.2 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.2732, allocations: 28.09 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2733, allocations: 76.56 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2733, allocations: 0 / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2733, allocations: 0 / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2733, allocations: 1.719 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003931/0.2737, allocations: 380.8 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2738, allocations: 9.766 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2738, allocations: 9.031 kB / 0.5216 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.274, allocations: 194.5 kB / 0.5218 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.274, allocations: 2.328 kB / 0.5218 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.274, allocations: 1.781 kB / 0.5218 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2741, allocations: 54.25 kB / 0.5219 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2742, allocations: 3.906 kB / 0.5219 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2742, allocations: 4 kB / 0.5219 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2742, allocations: 5.094 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.2743, allocations: 23.09 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.2745, allocations: 278 kB / 0.5222 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.2747, allocations: 44.16 kB / 0.5222 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.2748, allocations: 21.09 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2748, allocations: 1.953 kB / 0.5222 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.2748, allocations: 32.42 kB / 0.5222 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2748, allocations: 0 / 0.5222 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004824/0.2753, allocations: 139.2 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.2753, allocations: 53.08 kB / 0.5224 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2755, allocations: 168.8 kB / 0.5226 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.2755, allocations: 29.7 kB / 0.5226 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.2755, allocations: 95.08 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2755, allocations: 11.58 kB / 0.5227 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2756, allocations: 17.67 kB / 0.5227 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2756, allocations: 325.6 kB / 0.523 GB, free: 320 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.2757, allocations: 21.3 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.2758, allocations: 23.23 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2759, allocations: 47.67 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2759, allocations: 0 / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.2761, allocations: 81.22 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2761, allocations: 5.219 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2761, allocations: 0.8438 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2761, allocations: 1.312 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.2762, allocations: 19.64 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2762, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.2762, allocations: 6.266 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.2762, allocations: 0.75 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.98e-05/0.2763, allocations: 125.8 kB / 0.5234 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2763, allocations: 12.44 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.2765, allocations: 94.16 kB / 0.5235 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2766, allocations: 5.25 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2766, allocations: 0 / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2766, allocations: 0.7969 kB / 0.5235 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.277, allocations: 343.9 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.277, allocations: 0.7031 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.277, allocations: 12.44 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2771, allocations: 0 / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.2771, allocations: 1.25 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2771, allocations: 13.62 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2771, allocations: 0 / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2773, allocations: 181.8 kB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2773, allocations: 87.89 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.2774, allocations: 1.062 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.2774, allocations: 9.438 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.2775, allocations: 6.344 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2775, allocations: 2.797 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.2776, allocations: 125.8 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.2778, allocations: 16.31 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007921/0.2786, allocations: 403.4 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.2788, allocations: 51.66 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2788, allocations: 0 / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.2789, allocations: 24.09 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2792, allocations: 23.02 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.2795, allocations: 186.8 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2798, allocations: 0.6974 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.2799, allocations: 9.922 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.2799, allocations: 12.36 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2799, allocations: 0 / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003176/0.2831, allocations: 1.124 MB / 0.5267 GB, free: 14.1 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches