Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.00137, allocations: 179 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009514, allocations: 86.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2122/0.2122, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.742e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5846, allocations: 87.19 MB / 0.5511 GB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5849, allocations: 76.19 kB / 0.5512 GB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01409/0.599, allocations: 5.874 MB / 0.5569 GB, free: 3.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5991, allocations: 4 kB / 0.5569 GB, free: 3.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5991, allocations: 11.44 kB / 0.5569 GB, free: 3.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003975/0.5995, allocations: 393.7 kB / 0.5573 GB, free: 2.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5995, allocations: 8.031 kB / 0.5573 GB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.5996, allocations: 7.906 kB / 0.5573 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.5999, allocations: 218.6 kB / 0.5575 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.5999, allocations: 3.562 kB / 0.5575 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5999, allocations: 4 kB / 0.5575 GB, free: 2.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.847e-05/0.6001, allocations: 31.8 kB / 0.5575 GB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.6002, allocations: 70.77 kB / 0.5576 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6002, allocations: 0 / 0.5576 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6002, allocations: 3.984 kB / 0.5576 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6002, allocations: 4 kB / 0.5576 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.6006, allocations: 276.4 kB / 0.5579 GB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6007, allocations: 66.06 kB / 0.5579 GB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.6008, allocations: 20.86 kB / 0.558 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.6008, allocations: 0 / 0.558 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.6009, allocations: 74.58 kB / 0.558 GB, free: 2.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6009, allocations: 0 / 0.558 GB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004418/0.6014, allocations: 171.6 kB / 0.5582 GB, free: 1.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.6014, allocations: 85.11 kB / 0.5583 GB, free: 1.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.6016, allocations: 145.6 kB / 0.5584 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.6016, allocations: 25.7 kB / 0.5584 GB, free: 1.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.6016, allocations: 107.7 kB / 0.5586 GB, free: 1.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6016, allocations: 23.58 kB / 0.5586 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6017, allocations: 0 / 0.5586 GB, free: 1.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.6017, allocations: 322.7 kB / 0.5589 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.6018, allocations: 19.69 kB / 0.5589 GB, free: 1.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.6018, allocations: 50.19 kB / 0.5589 GB, free: 1.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.6019, allocations: 31.69 kB / 0.559 GB, free: 1.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6019, allocations: 0 / 0.559 GB, free: 1.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001304/0.602, allocations: 100.8 kB / 0.5591 GB, free: 1.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.602, allocations: 8 kB / 0.5591 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.602, allocations: 0 / 0.5591 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6021, allocations: 0 / 0.5591 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.6022, allocations: 24.05 kB / 0.5591 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.6022, allocations: 7.938 kB / 0.5591 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.6022, allocations: 7.953 kB / 0.5591 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6022, allocations: 4 kB / 0.5591 GB, free: 1.02 MB / 362.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/0.6023, allocations: 109.9 kB / 0.5592 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.6023, allocations: 15.81 kB / 0.5592 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.6026, allocations: 124.9 kB / 0.5594 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6026, allocations: 0 / 0.5594 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6026, allocations: 8 kB / 0.5594 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6026, allocations: 3.984 kB / 0.5594 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.6029, allocations: 396.8 kB / 0.5598 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.603, allocations: 0 / 0.5598 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.603, allocations: 23.84 kB / 0.5598 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.603, allocations: 0 / 0.5598 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.603, allocations: 0 / 0.5598 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.603, allocations: 7.938 kB / 0.5598 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.603, allocations: 0 / 0.5598 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.6032, allocations: 232.5 kB / 0.56 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.6033, allocations: 92.95 kB / 0.5601 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.6033, allocations: 3.984 kB / 0.5601 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.6034, allocations: 4 kB / 0.5601 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.6035, allocations: 11.98 kB / 0.5601 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.6035, allocations: 11.69 kB / 0.5601 GB, free: 15.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.6036, allocations: 123.7 kB / 0.5602 GB, free: 15.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6036, allocations: 0 / 0.5602 GB, free: 15.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.6039, allocations: 35.98 kB / 0.5603 GB, free: 15.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009935/0.6049, allocations: 445.1 kB / 0.5607 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.605, allocations: 74.73 kB / 0.5608 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6051, allocations: 0 / 0.5608 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.6051, allocations: 35.62 kB / 0.5608 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.6054, allocations: 23.66 kB / 0.5608 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.6057, allocations: 141.7 kB / 0.561 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6061, allocations: 0.7119 MB / 0.5617 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.6061, allocations: 16.88 kB / 0.5617 GB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.6062, allocations: 19.42 kB / 0.5617 GB, free: 14.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6062, allocations: 0 / 0.5617 GB, free: 14.45 MB / 378.7 MB Notification: Performance of Templates: time 0.004672/0.6109, allocations: 1.943 MB / 0.5636 GB, free: 12.53 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches