Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 109 kB / 21.1 MB, free: 0.7695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 205.7 kB / 24.38 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.2 MB / 257.7 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.89 MB / 361 MB, free: 4.492 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 79.86 kB / 0.4962 GB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4445, allocations: 66.02 MB / 0.5607 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00438/0.4489, allocations: 1.959 MB / 0.5626 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.4512, allocations: 1.092 MB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.4513, allocations: 3.938 kB / 0.5637 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.4517, allocations: 39.72 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.4521, allocations: 103.5 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.4523, allocations: 95.7 kB / 0.5639 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.4526, allocations: 147.5 kB / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4528, allocations: 27.55 kB / 0.5641 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.4529, allocations: 59.72 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.453, allocations: 59.66 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.453, allocations: 8 kB / 0.5642 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4532, allocations: 51.91 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.4532, allocations: 23.92 kB / 0.5643 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.4533, allocations: 51.61 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.4536, allocations: 159.2 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4536, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4536, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4537, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008305/0.4545, allocations: 492.1 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4545, allocations: 8.031 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.4546, allocations: 42.73 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.4546, allocations: 12.84 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.4551, allocations: 236.8 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4551, allocations: 8.375 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.4551, allocations: 8.312 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.4554, allocations: 116.3 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4554, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4554, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4554, allocations: 3.938 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.4556, allocations: 51.91 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.4563, allocations: 0.501 MB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.4566, allocations: 78.61 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4567, allocations: 40.83 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4568, allocations: 4 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.457, allocations: 87.3 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.457, allocations: 0 / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004217/0.4574, allocations: 145.5 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4574, allocations: 51.78 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.4577, allocations: 211 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.4577, allocations: 33.7 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4578, allocations: 112.1 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4578, allocations: 39.67 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4579, allocations: 25.72 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4581, allocations: 326.8 kB / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.4581, allocations: 31.97 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4583, allocations: 60.28 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.4585, allocations: 96.2 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4585, allocations: 0 / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002809/0.4587, allocations: 145.4 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4588, allocations: 6.188 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4588, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4588, allocations: 4 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.704e-05/0.4589, allocations: 19.98 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4589, allocations: 7.938 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.459, allocations: 15.95 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.459, allocations: 4.125 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000142/0.4591, allocations: 139 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.4591, allocations: 15.91 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.4595, allocations: 127 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4595, allocations: 3.984 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4595, allocations: 3.938 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4595, allocations: 192 / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.4597, allocations: 209.6 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4597, allocations: 7.938 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.336e-05/0.4598, allocations: 15.92 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4598, allocations: 0 / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4598, allocations: 8 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4598, allocations: 0 / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4598, allocations: 3.938 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.4602, allocations: 180.9 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.4603, allocations: 93.11 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.4603, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.4604, allocations: 11.98 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.4604, allocations: 7.938 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4604, allocations: 7.984 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4606, allocations: 147.2 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4606, allocations: 0 / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000236/0.4608, allocations: 27.94 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00212/0.463, allocations: 1.008 MB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.4632, allocations: 79.89 kB / 0.5694 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.4632, allocations: 4.25 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4633, allocations: 31.92 kB / 0.5694 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4637, allocations: 51.09 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.4661, allocations: 1.761 MB / 0.5712 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4665, allocations: 0.7161 MB / 0.5719 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.092e-05/0.4666, allocations: 21.41 kB / 0.5719 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.4667, allocations: 43.42 kB / 0.572 GB, free: 8.695 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4667, allocations: 0 / 0.572 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.4979, allocations: 3.907 MB / 0.5758 GB, free: 4.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.424, allocations: 17.69 kB / 0.5758 GB, free: 4.781 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.672513430006802]