Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.00148/0.00148, allocations: 183 kB / 19.38 MB, free: 3.68 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.338/1.338, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.211/0.211, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3505, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002876/0.3535, allocations: 1.812 MB / 0.5214 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3548, allocations: 0.9601 MB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.3548, allocations: 1.188 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.3554, allocations: 303.6 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.3558, allocations: 213.9 kB / 0.5228 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.3561, allocations: 164.1 kB / 0.523 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.3564, allocations: 244.6 kB / 0.5232 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.3565, allocations: 13.53 kB / 0.5232 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3567, allocations: 137.8 kB / 0.5234 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.3569, allocations: 185.8 kB / 0.5235 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.3569, allocations: 6.438 kB / 0.5235 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.357, allocations: 50 kB / 0.5236 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.3571, allocations: 134.5 kB / 0.5237 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.3572, allocations: 142.3 kB / 0.5239 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.3576, allocations: 368 kB / 0.5242 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3576, allocations: 0 / 0.5242 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3576, allocations: 0 / 0.5242 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3576, allocations: 0 / 0.5242 GB, free: 1.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007753/0.3584, allocations: 0.7289 MB / 0.5249 GB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3585, allocations: 9.109 kB / 0.5249 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.3585, allocations: 49.92 kB / 0.525 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.3591, allocations: 455.1 kB / 0.5254 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3591, allocations: 1.844 kB / 0.5254 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3591, allocations: 11.7 kB / 0.5254 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3593, allocations: 86.89 kB / 0.5255 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3593, allocations: 0 / 0.5255 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3594, allocations: 4.609 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3594, allocations: 1.375 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3595, allocations: 26.09 kB / 0.5255 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.3599, allocations: 377.3 kB / 0.5259 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3602, allocations: 110.3 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.3603, allocations: 43.45 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.3603, allocations: 5.312 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.3605, allocations: 112.3 kB / 0.5262 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3605, allocations: 0 / 0.5262 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004618/0.361, allocations: 194.8 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.361, allocations: 83.19 kB / 0.5264 GB, free: 15.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3621, allocations: 1.032 MB / 0.5274 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3621, allocations: 26.98 kB / 0.5275 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3623, allocations: 238.4 kB / 0.5277 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.3624, allocations: 23.77 kB / 0.5277 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3624, allocations: 27.53 kB / 0.5277 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3626, allocations: 368.8 kB / 0.5281 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.3627, allocations: 30.98 kB / 0.5281 GB, free: 14.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.452e-05/0.3628, allocations: 55.38 kB / 0.5282 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.363, allocations: 90.33 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.363, allocations: 0 / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003074/0.3633, allocations: 178 kB / 0.5284 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3633, allocations: 9.031 kB / 0.5284 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3633, allocations: 1.125 kB / 0.5284 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3634, allocations: 6.219 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3635, allocations: 26.11 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3635, allocations: 1.875 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3636, allocations: 11.12 kB / 0.5285 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3636, allocations: 7.844 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0002119/0.3638, allocations: 224.9 kB / 0.5287 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3639, allocations: 54 kB / 0.5287 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.364, allocations: 58.62 kB / 0.5288 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.364, allocations: 9.484 kB / 0.5288 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.364, allocations: 0 / 0.5288 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3642, allocations: 134.6 kB / 0.5289 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.3642, allocations: 5.406 kB / 0.5289 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.3643, allocations: 3.344 kB / 0.5289 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3644, allocations: 16.62 kB / 0.529 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003294/0.3647, allocations: 291.8 kB / 0.5292 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003586/0.3651, allocations: 422.3 kB / 0.5296 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.087e-05/0.3652, allocations: 40.11 kB / 0.5297 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.366, allocations: 0.7707 MB / 0.5304 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.366, allocations: 0 / 0.5304 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.3676, allocations: 0.5985 MB / 0.531 GB, free: 12.44 MB / 398.1 MB Notification: Performance of SimCode: time 0.001392/0.369, allocations: 1.248 MB / 0.5322 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Templates: time 0.007997/0.377, allocations: 3.89 MB / 0.536 GB, free: 9.656 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches