Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 178.3 kB / 8.005 MB, free: 1.07 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.742/1.742, allocations: 205.3 MB / 213.7 MB, free: 1.66 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.0009388/0.000939, allocations: 86.62 kB / 261.7 MB, free: 1.609 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.2177/0.2177, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.424e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.6009, allocations: 86.92 MB / 0.5508 GB, free: 8.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.6012, allocations: 78.73 kB / 0.5509 GB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.6143, allocations: 5.277 MB / 0.5561 GB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6143, allocations: 0 / 0.5561 GB, free: 3.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.6143, allocations: 7.938 kB / 0.5561 GB, free: 3.898 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003625/0.6147, allocations: 404.4 kB / 0.5564 GB, free: 3.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6147, allocations: 8.031 kB / 0.5565 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.6148, allocations: 11.81 kB / 0.5565 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.615, allocations: 221.4 kB / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.6151, allocations: 0 / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.6151, allocations: 0 / 0.5567 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.6e-05/0.6152, allocations: 15.5 kB / 0.5567 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.884e-05/0.6153, allocations: 52.73 kB / 0.5567 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6153, allocations: 0 / 0.5567 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6153, allocations: 4 kB / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6153, allocations: 3.938 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.6156, allocations: 274.8 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.6157, allocations: 45.77 kB / 0.5571 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.6158, allocations: 19.78 kB / 0.5571 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6158, allocations: 4 kB / 0.5571 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.6159, allocations: 66.03 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6159, allocations: 0 / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004206/0.6163, allocations: 148.6 kB / 0.5573 GB, free: 2.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.6164, allocations: 55.34 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6165, allocations: 180.3 kB / 0.5575 GB, free: 2.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.6165, allocations: 29.7 kB / 0.5575 GB, free: 2.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.6166, allocations: 105.8 kB / 0.5576 GB, free: 2.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.6166, allocations: 26.77 kB / 0.5577 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.6166, allocations: 0 / 0.5577 GB, free: 2.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.6167, allocations: 325.3 kB / 0.558 GB, free: 1.875 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.6167, allocations: 17.75 kB / 0.558 GB, free: 1.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.6168, allocations: 31.41 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.745e-05/0.6168, allocations: 23.17 kB / 0.558 GB, free: 1.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6168, allocations: 0 / 0.558 GB, free: 1.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001113/0.6169, allocations: 92.88 kB / 0.5581 GB, free: 1.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.6169, allocations: 7.938 kB / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.617, allocations: 0 / 0.5581 GB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.617, allocations: 7.984 kB / 0.5581 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.6171, allocations: 14.69 kB / 0.5582 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6171, allocations: 192 / 0.5582 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.6171, allocations: 4 kB / 0.5582 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.6172, allocations: 7.891 kB / 0.5582 GB, free: 1.699 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 (10): * Single equations (assignments): 10 * 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 5.395e-05/0.6172, allocations: 114.7 kB / 0.5583 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.6172, allocations: 11.81 kB / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.6174, allocations: 115.8 kB / 0.5584 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6174, allocations: 0 / 0.5584 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6174, allocations: 0 / 0.5584 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6174, allocations: 3.984 kB / 0.5584 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.6177, allocations: 384.6 kB / 0.5588 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6178, allocations: 0 / 0.5588 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.6178, allocations: 16.03 kB / 0.5588 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6178, allocations: 0 / 0.5588 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.6178, allocations: 0 / 0.5588 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6178, allocations: 4 kB / 0.5588 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6178, allocations: 3.938 kB / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.618, allocations: 211.9 kB / 0.559 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.618, allocations: 100.1 kB / 0.5591 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.6181, allocations: 0 / 0.5591 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.6182, allocations: 4 kB / 0.5591 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.6182, allocations: 15.81 kB / 0.5591 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6182, allocations: 7.688 kB / 0.5591 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.6183, allocations: 146.1 kB / 0.5593 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6183, allocations: 0 / 0.5593 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000246/0.6186, allocations: 31.92 kB / 0.5593 GB, free: 0.5586 MB / 362.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 (9): * Single equations (assignments): 7 * 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.0008167/0.6194, allocations: 386.2 kB / 0.5597 GB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.6195, allocations: 52.62 kB / 0.5597 GB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6195, allocations: 0 / 0.5597 GB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.6196, allocations: 32.5 kB / 0.5597 GB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.6198, allocations: 22.84 kB / 0.5598 GB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.6202, allocations: 170.5 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.6205, allocations: 0.715 MB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.6206, allocations: 16.86 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.6206, allocations: 19.42 kB / 0.5607 GB, free: 15.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6206, allocations: 0 / 0.5607 GB, free: 15.21 MB / 378.7 MB Notification: Performance of Templates: time 0.004171/0.6248, allocations: 1.632 MB / 0.5622 GB, free: 13.6 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches