Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 112.9 kB / 18.46 MB, free: 4.594 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.001047/0.001047, allocations: 183 kB / 19.39 MB, free: 3.672 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.399/1.399, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2034/0.2034, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3743, allocations: 60.83 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002679/0.377, allocations: 1.703 MB / 0.5213 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3783, allocations: 0.8757 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.3784, allocations: 1.125 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.3787, allocations: 46.14 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.379, allocations: 62.53 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3793, allocations: 109.1 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3795, allocations: 100.8 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3796, allocations: 7.953 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.3797, allocations: 41.44 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.3798, allocations: 33.44 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3799, allocations: 4.594 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.38, allocations: 46.38 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.38, allocations: 26.06 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.3801, allocations: 41.14 kB / 0.5227 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3803, allocations: 120.8 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3804, allocations: 0 / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3804, allocations: 0.9062 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.3804, allocations: 0 / 0.5228 GB, free: 1.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005444/0.3809, allocations: 431.3 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.381, allocations: 10.03 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.381, allocations: 9.203 kB / 0.5232 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3813, allocations: 215.9 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3813, allocations: 3.141 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.3813, allocations: 9.688 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3815, allocations: 50.12 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3815, allocations: 4.969 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3815, allocations: 4.703 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3815, allocations: 1.094 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.3816, allocations: 22.7 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.382, allocations: 297.5 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.3821, allocations: 60.34 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.3822, allocations: 19.78 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3822, allocations: 1.531 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3824, allocations: 70.84 kB / 0.5239 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3824, allocations: 0 / 0.5239 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.3829, allocations: 177.4 kB / 0.5241 GB, free: 336 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.3829, allocations: 57.14 kB / 0.5242 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3831, allocations: 217.9 kB / 0.5244 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3832, allocations: 31.8 kB / 0.5244 GB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.3832, allocations: 105 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3833, allocations: 26.53 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3833, allocations: 22.48 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3835, allocations: 334.5 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.3836, allocations: 18.8 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.3836, allocations: 34.39 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3838, allocations: 62.22 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3838, allocations: 4 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.384, allocations: 105.5 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.384, allocations: 8.125 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.384, allocations: 1.188 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.384, allocations: 9.812 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.3841, allocations: 18.12 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3841, allocations: 1.875 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3842, allocations: 10.66 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3842, allocations: 7.438 kB / 0.5251 GB, free: 15.47 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 (10): * Single equations (assignments): 10 * 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.0001153/0.3843, allocations: 134.5 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3844, allocations: 14.31 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.3844, allocations: 17.22 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3844, allocations: 1.641 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3844, allocations: 0 / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.3845, allocations: 84.7 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3845, allocations: 5.844 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.3846, allocations: 8.578 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3846, allocations: 8.984 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002282/0.3848, allocations: 179 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000267/0.3851, allocations: 275.2 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.088e-05/0.3852, allocations: 30.56 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3854, allocations: 174.4 kB / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3854, allocations: 0 / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3869, allocations: 494.3 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007045/0.3876, allocations: 0.6971 MB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.004601/0.3922, allocations: 1.766 MB / 0.5289 GB, free: 13.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches