Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 185.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008989/0.000899, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2364/0.2364, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004479, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1806, allocations: 58.85 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5954, allocations: 87.5 MB / 0.5642 GB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5957, allocations: 76.34 kB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.6095, allocations: 5.124 MB / 0.5693 GB, free: 7.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6095, allocations: 0 / 0.5693 GB, free: 7.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.6096, allocations: 0 / 0.5693 GB, free: 7.914 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005111/0.6101, allocations: 405.8 kB / 0.5697 GB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6101, allocations: 8.031 kB / 0.5697 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.6102, allocations: 7.906 kB / 0.5697 GB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.6105, allocations: 209.8 kB / 0.5699 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6105, allocations: 7.938 kB / 0.5699 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.6105, allocations: 4 kB / 0.5699 GB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6107, allocations: 48.48 kB / 0.5699 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6107, allocations: 0 / 0.5699 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6107, allocations: 4 kB / 0.57 GB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6107, allocations: 0 / 0.57 GB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.716e-05/0.6108, allocations: 15.55 kB / 0.57 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.611, allocations: 183.5 kB / 0.5701 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.6112, allocations: 61.86 kB / 0.5702 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.6112, allocations: 0 / 0.5702 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.6114, allocations: 66.23 kB / 0.5703 GB, free: 6.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.6114, allocations: 0 / 0.5703 GB, free: 6.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002791/0.6117, allocations: 98.48 kB / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.6117, allocations: 66.33 kB / 0.5704 GB, free: 6.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.6119, allocations: 157.8 kB / 0.5706 GB, free: 6.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6119, allocations: 29.69 kB / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.612, allocations: 97.77 kB / 0.5707 GB, free: 6.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.612, allocations: 15.78 kB / 0.5707 GB, free: 6.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.612, allocations: 3.688 kB / 0.5707 GB, free: 6.359 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6122, allocations: 322.2 kB / 0.571 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.6122, allocations: 15.42 kB / 0.571 GB, free: 6.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.6123, allocations: 36.69 kB / 0.5711 GB, free: 5.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.6124, allocations: 18.94 kB / 0.5711 GB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6124, allocations: 3.953 kB / 0.5711 GB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001645/0.6126, allocations: 82.52 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6126, allocations: 8 kB / 0.5712 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6126, allocations: 0 / 0.5712 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6126, allocations: 0 / 0.5712 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.6127, allocations: 8 kB / 0.5712 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6127, allocations: 4.031 kB / 0.5712 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.6128, allocations: 11.89 kB / 0.5712 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.6128, allocations: 4 kB / 0.5712 GB, free: 5.867 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001101/0.6129, allocations: 124.8 kB / 0.5713 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.6129, allocations: 19.78 kB / 0.5713 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.6132, allocations: 91.03 kB / 0.5714 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.6132, allocations: 0 / 0.5714 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6132, allocations: 4 kB / 0.5714 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6132, allocations: 4 kB / 0.5714 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.6134, allocations: 183.4 kB / 0.5716 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6134, allocations: 4 kB / 0.5716 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.6135, allocations: 8.641 kB / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6135, allocations: 0 / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.6135, allocations: 0.5625 kB / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6135, allocations: 384 / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6135, allocations: 0 / 0.5716 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.6137, allocations: 121.3 kB / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.6138, allocations: 98.59 kB / 0.5718 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.6138, allocations: 5.078 kB / 0.5718 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.6139, allocations: 0.75 kB / 0.5718 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.6139, allocations: 8.734 kB / 0.5718 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.6139, allocations: 4 kB / 0.5719 GB, free: 5.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.6141, allocations: 130.3 kB / 0.572 GB, free: 5.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.733e-06/0.6141, allocations: 0 / 0.572 GB, free: 5.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.6143, allocations: 31.86 kB / 0.572 GB, free: 5.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001021/0.6153, allocations: 425.6 kB / 0.5724 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.6155, allocations: 50.86 kB / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6155, allocations: 0 / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.6156, allocations: 19.73 kB / 0.5725 GB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.6158, allocations: 19.67 kB / 0.5725 GB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.6162, allocations: 207 kB / 0.5727 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.6165, allocations: 0.7071 MB / 0.5734 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.6166, allocations: 12.42 kB / 0.5734 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.6166, allocations: 19.44 kB / 0.5734 GB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6166, allocations: 3.938 kB / 0.5734 GB, free: 3.598 MB / 378.7 MB Notification: Performance of Templates: time 0.004286/0.6209, allocations: 1.424 MB / 0.5748 GB, free: 2.184 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches