Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001278/0.001278, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.333/1.333, allocations: 222.9 MB / 242.4 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.2/0.2, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.09 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.416, allocations: 60.81 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003472/0.4195, allocations: 1.755 MB / 0.5207 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.421, allocations: 0.8741 MB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.4211, allocations: 1.469 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.4216, allocations: 105.6 kB / 0.5217 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.4219, allocations: 97.45 kB / 0.5218 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.4222, allocations: 111.1 kB / 0.5219 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.4225, allocations: 124.7 kB / 0.522 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.4226, allocations: 22.81 kB / 0.522 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4228, allocations: 61.52 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.4229, allocations: 70.84 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.423, allocations: 5.469 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.4231, allocations: 60.11 kB / 0.5222 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.4233, allocations: 28.42 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.4233, allocations: 52.52 kB / 0.5223 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.4237, allocations: 163.2 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4237, allocations: 1.25 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4237, allocations: 0 / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4237, allocations: 4 kB / 0.5224 GB, free: 1.441 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005856/0.4243, allocations: 454.8 kB / 0.5229 GB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4243, allocations: 9.719 kB / 0.5229 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.4244, allocations: 15.28 kB / 0.5229 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4246, allocations: 222.3 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4247, allocations: 7.375 kB / 0.5231 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4247, allocations: 8.312 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4249, allocations: 77 kB / 0.5232 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4249, allocations: 5.516 kB / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4249, allocations: 5.125 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4249, allocations: 1.906 kB / 0.5232 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4251, allocations: 34.77 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.4255, allocations: 328.8 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4257, allocations: 79.06 kB / 0.5236 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.4258, allocations: 32.3 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.4258, allocations: 2.672 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.426, allocations: 71.41 kB / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.775e-06/0.426, allocations: 0 / 0.5237 GB, free: 288 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009122/0.4269, allocations: 306 kB / 0.524 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.427, allocations: 57.5 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.4274, allocations: 243.8 kB / 0.5243 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4274, allocations: 32.98 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4275, allocations: 114.2 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.4276, allocations: 43.03 kB / 0.5245 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.4277, allocations: 43.06 kB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4279, allocations: 325 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.428, allocations: 44.8 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4281, allocations: 59.92 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4283, allocations: 102.5 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4283, allocations: 0 / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002834/0.4286, allocations: 165.9 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4286, allocations: 5.938 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4286, allocations: 0 / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4286, allocations: 13.88 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4288, allocations: 26.53 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4288, allocations: 9.344 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.4288, allocations: 6.547 kB / 0.5253 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4288, allocations: 4.234 kB / 0.5253 GB, free: 15.2 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 (16): * Single equations (assignments): 16 * 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.0001225/0.429, allocations: 140.6 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.429, allocations: 15.92 kB / 0.5254 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.4291, allocations: 24.72 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4291, allocations: 5.75 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4291, allocations: 4.797 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4291, allocations: 2.422 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.4297, allocations: 0.4922 MB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4297, allocations: 0 / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.4298, allocations: 19.17 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4298, allocations: 1.375 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4298, allocations: 3.969 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4298, allocations: 5.438 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4298, allocations: 1.938 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.4302, allocations: 262.8 kB / 0.5262 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.4302, allocations: 98.39 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4303, allocations: 3.406 kB / 0.5263 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.4303, allocations: 12.02 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.4304, allocations: 8.828 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.4304, allocations: 6.156 kB / 0.5263 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.4306, allocations: 185.8 kB / 0.5265 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4306, allocations: 0 / 0.5265 GB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.4309, allocations: 33.09 kB / 0.5265 GB, free: 14.21 MB / 398.1 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.001296/0.4322, allocations: 0.5139 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4325, allocations: 114.2 kB / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4325, allocations: 0 / 0.5271 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.733e-05/0.4326, allocations: 50.38 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.433, allocations: 47.58 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.4336, allocations: 327.1 kB / 0.5276 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4339, allocations: 0.7227 MB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.434, allocations: 24.62 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.4341, allocations: 25.55 kB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4341, allocations: 0 / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Templates: time 0.005211/0.4393, allocations: 2.185 MB / 0.5304 GB, free: 11.99 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches