Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 176.7 kB / 8.008 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.626/1.626, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.0008613/0.0008611, allocations: 82.64 kB / 261.8 MB, free: 1.684 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.2128/0.2128, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.583e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5839, allocations: 86.95 MB / 0.5509 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5843, allocations: 80.33 kB / 0.5509 GB, free: 8.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.5969, allocations: 5.389 MB / 0.5562 GB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5969, allocations: 0 / 0.5562 GB, free: 3.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.597, allocations: 7.938 kB / 0.5562 GB, free: 3.742 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.0004001/0.5974, allocations: 400.4 kB / 0.5566 GB, free: 3.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5974, allocations: 12.02 kB / 0.5566 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.5975, allocations: 15.56 kB / 0.5566 GB, free: 3.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.5977, allocations: 210 kB / 0.5568 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.5978, allocations: 11.98 kB / 0.5568 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.5978, allocations: 0 / 0.5568 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.778e-05/0.5979, allocations: 16.06 kB / 0.5568 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.598, allocations: 52.05 kB / 0.5569 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.598, allocations: 3.938 kB / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.598, allocations: 0 / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.598, allocations: 0 / 0.5569 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.5983, allocations: 270.7 kB / 0.5571 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.5984, allocations: 53.31 kB / 0.5572 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.5985, allocations: 16.36 kB / 0.5572 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.5985, allocations: 7.922 kB / 0.5572 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.5986, allocations: 66.52 kB / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.5986, allocations: 0 / 0.5573 GB, free: 2.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004017/0.599, allocations: 148.7 kB / 0.5574 GB, free: 2.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.5991, allocations: 59.34 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.5992, allocations: 179 kB / 0.5577 GB, free: 2.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5993, allocations: 29.7 kB / 0.5577 GB, free: 2.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.5993, allocations: 105.1 kB / 0.5578 GB, free: 2.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.5993, allocations: 23.64 kB / 0.5578 GB, free: 2.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.5993, allocations: 3.938 kB / 0.5578 GB, free: 2.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.5994, allocations: 325.5 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.5994, allocations: 14.81 kB / 0.5581 GB, free: 1.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.5995, allocations: 35.09 kB / 0.5582 GB, free: 1.676 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.5995, allocations: 30.33 kB / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5995, allocations: 0 / 0.5582 GB, free: 1.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001146/0.5997, allocations: 90.66 kB / 0.5583 GB, free: 1.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5997, allocations: 4 kB / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5997, allocations: 0 / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5997, allocations: 0 / 0.5583 GB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.5998, allocations: 19.98 kB / 0.5583 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5998, allocations: 4.031 kB / 0.5583 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.5999, allocations: 4 kB / 0.5583 GB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5999, allocations: 4.141 kB / 0.5583 GB, free: 1.539 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.88e-05/0.5999, allocations: 110.3 kB / 0.5584 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.6, allocations: 15.8 kB / 0.5584 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.6001, allocations: 107.6 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6002, allocations: 4 kB / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6002, allocations: 0 / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6002, allocations: 7.984 kB / 0.5586 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.6005, allocations: 378.2 kB / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6005, allocations: 0 / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.6005, allocations: 16.27 kB / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6006, allocations: 0 / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.6006, allocations: 0 / 0.5589 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6006, allocations: 3.938 kB / 0.5589 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6006, allocations: 7.938 kB / 0.5589 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.6007, allocations: 216.8 kB / 0.5591 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6008, allocations: 92.5 kB / 0.5592 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6008, allocations: 4 kB / 0.5592 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.6009, allocations: 0 / 0.5592 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.6009, allocations: 19.81 kB / 0.5593 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.6009, allocations: 4 kB / 0.5593 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.228e-05/0.601, allocations: 152.1 kB / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.601, allocations: 0 / 0.5594 GB, free: 440 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.6013, allocations: 27.94 kB / 0.5594 GB, free: 412 kB / 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.0008307/0.6021, allocations: 390.8 kB / 0.5598 GB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.6023, allocations: 51.19 kB / 0.5599 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6023, allocations: 0 / 0.5599 GB, free: 44 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.6023, allocations: 31.78 kB / 0.5599 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6026, allocations: 28.16 kB / 0.5599 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.603, allocations: 164.4 kB / 0.5601 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.6033, allocations: 0.708 MB / 0.5608 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.581e-05/0.6034, allocations: 16.55 kB / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.6035, allocations: 19.19 kB / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6035, allocations: 4 kB / 0.5608 GB, free: 15.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004127/0.6076, allocations: 1.651 MB / 0.5624 GB, free: 13.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches