Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.8 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.001321/0.001321, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.325/1.325, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.12 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3895, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003125/0.3926, allocations: 1.664 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3941, allocations: 0.8571 MB / 0.5221 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.3942, allocations: 3.938 kB / 0.5221 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.3945, allocations: 50.36 kB / 0.5222 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3948, allocations: 60.59 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.3951, allocations: 108 kB / 0.5223 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3952, allocations: 92.39 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/0.3953, allocations: 4.375 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.3954, allocations: 41.34 kB / 0.5224 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.3955, allocations: 29.41 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3955, allocations: 6.938 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-05/0.3956, allocations: 30.91 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.3957, allocations: 22.11 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.3958, allocations: 42.64 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.396, allocations: 117.2 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.396, allocations: 0 / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.396, allocations: 1.156 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.396, allocations: 3.938 kB / 0.5227 GB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005074/0.3965, allocations: 423 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3966, allocations: 10.19 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.3967, allocations: 18 kB / 0.5231 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3969, allocations: 218.8 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.397, allocations: 1.312 kB / 0.5233 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.397, allocations: 5.641 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3971, allocations: 50.53 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3972, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3972, allocations: 1.703 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3972, allocations: 0 / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.437e-05/0.3973, allocations: 15.95 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.3975, allocations: 194.1 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3977, allocations: 56.12 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.3977, allocations: 23.48 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3977, allocations: 1.156 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.3979, allocations: 69.95 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3979, allocations: 3.938 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002891/0.3982, allocations: 100.1 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3982, allocations: 52.92 kB / 0.5239 GB, free: 460 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3985, allocations: 262.4 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3985, allocations: 30.89 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3986, allocations: 115.1 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3986, allocations: 11.77 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3987, allocations: 22.94 kB / 0.5243 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3988, allocations: 328.6 kB / 0.5246 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3989, allocations: 14.47 kB / 0.5246 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.3989, allocations: 26.09 kB / 0.5246 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3991, allocations: 47.11 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3991, allocations: 4 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/0.3992, allocations: 85.08 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3993, allocations: 8.688 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3993, allocations: 0 / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3993, allocations: 2.344 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.3994, allocations: 14.86 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3994, allocations: 0 / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.3994, allocations: 7.625 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3995, allocations: 1.891 kB / 0.5248 GB, free: 15.69 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001212/0.3996, allocations: 137.1 kB / 0.5249 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.3996, allocations: 15.34 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3997, allocations: 18.14 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3997, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3997, allocations: 2.812 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3997, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3999, allocations: 197.8 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3999, allocations: 0 / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.3999, allocations: 4.859 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3999, allocations: 0.6094 kB / 0.5252 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3999, allocations: 8.562 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3999, allocations: 1.812 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3999, allocations: 3.984 kB / 0.5252 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.4001, allocations: 118.1 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.4002, allocations: 89.03 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4002, allocations: 1.828 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.4003, allocations: 1.953 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4003, allocations: 8.297 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4004, allocations: 7 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.4005, allocations: 200 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4006, allocations: 3.938 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.4008, allocations: 22.27 kB / 0.5256 GB, free: 15 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009638/0.4017, allocations: 406.3 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.4019, allocations: 43.38 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4019, allocations: 5.25 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.402, allocations: 17.69 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.4023, allocations: 32.14 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.4028, allocations: 288.7 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4031, allocations: 0.7192 MB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.4032, allocations: 14.59 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4032, allocations: 7.938 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004111/0.4073, allocations: 1.825 MB / 0.5289 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches