Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.002307/0.002307, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.506/1.506, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.3004/0.3004, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3665, allocations: 60.83 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004278/0.3708, allocations: 1.727 MB / 0.5207 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3723, allocations: 0.8809 MB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.3724, allocations: 0 / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.3728, allocations: 48.66 kB / 0.5216 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.3732, allocations: 58.53 kB / 0.5217 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.3738, allocations: 106.4 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.3741, allocations: 124.5 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3742, allocations: 17.97 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3744, allocations: 53.98 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3745, allocations: 49.59 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3745, allocations: 6.531 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3747, allocations: 55.66 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.3748, allocations: 34.77 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.646e-05/0.3749, allocations: 43.61 kB / 0.5221 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.3753, allocations: 145.4 kB / 0.5223 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3753, allocations: 0 / 0.5223 GB, free: 1.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3753, allocations: 0 / 0.5223 GB, free: 1.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3753, allocations: 0 / 0.5223 GB, free: 1.473 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007062/0.376, allocations: 437.4 kB / 0.5227 GB, free: 1.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3761, allocations: 10.19 kB / 0.5227 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.3762, allocations: 10.44 kB / 0.5227 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3765, allocations: 222.7 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3765, allocations: 3.234 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3765, allocations: 11.06 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.3768, allocations: 71.34 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3768, allocations: 4 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3768, allocations: 1.75 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3768, allocations: 1.344 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.377, allocations: 44.45 kB / 0.523 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3774, allocations: 322.3 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3778, allocations: 84.19 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.3779, allocations: 37.17 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3779, allocations: 3.75 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3781, allocations: 82.36 kB / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.3781, allocations: 0 / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000936/0.379, allocations: 299.8 kB / 0.5238 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3791, allocations: 56.97 kB / 0.5239 GB, free: 128 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3792, allocations: 187.5 kB / 0.5241 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3793, allocations: 31.73 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.3793, allocations: 100.8 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.3794, allocations: 45.72 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.3795, allocations: 31.05 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3796, allocations: 322.1 kB / 0.5246 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.3797, allocations: 40.17 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.3798, allocations: 58.78 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.38, allocations: 103 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.38, allocations: 0 / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.3803, allocations: 153.7 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3803, allocations: 6.141 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3803, allocations: 3.938 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3803, allocations: 1.344 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.3804, allocations: 27.72 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3804, allocations: 6.656 kB / 0.525 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/0.3805, allocations: 6.531 kB / 0.525 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3805, allocations: 4.969 kB / 0.525 GB, free: 15.29 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 (15): * Single equations (assignments): 15 * 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.0001163/0.3806, allocations: 130.4 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3807, allocations: 14.86 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.115e-05/0.3807, allocations: 23.05 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3808, allocations: 1.688 kB / 0.5251 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3808, allocations: 3.938 kB / 0.5251 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3808, allocations: 5.125 kB / 0.5251 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.3814, allocations: 483.6 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3814, allocations: 2.078 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3815, allocations: 16.91 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3815, allocations: 5.875 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3815, allocations: 3.453 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.3815, allocations: 2.078 kB / 0.5256 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3816, allocations: 9.375 kB / 0.5256 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3819, allocations: 256 kB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.382, allocations: 88.95 kB / 0.526 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.382, allocations: 12.34 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3821, allocations: 3.328 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.3821, allocations: 13.41 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3822, allocations: 13.33 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3823, allocations: 139.3 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3823, allocations: 3.938 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3826, allocations: 33.55 kB / 0.5262 GB, free: 14.32 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 (13): * Single equations (assignments): 11 * 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.001154/0.3838, allocations: 0.5021 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.384, allocations: 103.7 kB / 0.5268 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.384, allocations: 0 / 0.5268 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3842, allocations: 50.84 kB / 0.5268 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3845, allocations: 35.66 kB / 0.5268 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3851, allocations: 258.8 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3854, allocations: 0.7166 MB / 0.5278 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.074e-05/0.3855, allocations: 30.59 kB / 0.5278 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.3855, allocations: 22.05 kB / 0.5278 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3855, allocations: 0 / 0.5278 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Templates: time 0.005277/0.3908, allocations: 2.15 MB / 0.5299 GB, free: 12.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches