Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 205.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 46.94 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.91 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3394, allocations: 66.03 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003278/0.3427, allocations: 1.714 MB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3445, allocations: 0.9676 MB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.3445, allocations: 0 / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3448, allocations: 51.75 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3451, allocations: 95.59 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.3454, allocations: 79.67 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3456, allocations: 111.6 kB / 0.5636 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.3457, allocations: 9.812 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.3458, allocations: 43.78 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.3459, allocations: 27.86 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3459, allocations: 8 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.346, allocations: 43.98 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.3461, allocations: 23.84 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.3461, allocations: 23.86 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3463, allocations: 131.4 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3463, allocations: 0 / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3463, allocations: 0 / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3463, allocations: 4 kB / 0.5639 GB, free: 0.8477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005514/0.3469, allocations: 341.6 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3469, allocations: 12.03 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.347, allocations: 30.75 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.347, allocations: 12.89 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3473, allocations: 155 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3473, allocations: 384 / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.3473, allocations: 11.92 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3475, allocations: 57.61 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3475, allocations: 0 / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3475, allocations: 4 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3475, allocations: 0 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.3476, allocations: 19.98 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.348, allocations: 255.9 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3482, allocations: 70.55 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.3482, allocations: 20.84 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3482, allocations: 0 / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3484, allocations: 67.39 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.597e-06/0.3484, allocations: 3.984 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.349, allocations: 189.3 kB / 0.5651 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.349, allocations: 51.41 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3492, allocations: 202.2 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3492, allocations: 33.7 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.3493, allocations: 112.1 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3493, allocations: 31.77 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.3494, allocations: 21.72 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3495, allocations: 322.8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.3496, allocations: 19.98 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.3497, allocations: 41.64 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3498, allocations: 61.7 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3498, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.35, allocations: 109.5 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.35, allocations: 7.984 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.35, allocations: 0 / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.35, allocations: 4 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.3501, allocations: 12 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3501, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.3502, allocations: 7.938 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3502, allocations: 3.984 kB / 0.5661 GB, free: 14.39 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3503, allocations: 129.8 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.3503, allocations: 15.94 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.3506, allocations: 119 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3506, allocations: 7.984 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3506, allocations: 0 / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3506, allocations: 3.938 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.3511, allocations: 370.4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3511, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.3511, allocations: 8 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3511, allocations: 3.938 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3512, allocations: 4 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3512, allocations: 7.969 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3512, allocations: 0 / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3514, allocations: 220.4 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3515, allocations: 11.95 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.3515, allocations: 7.938 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.3516, allocations: 0 / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.3516, allocations: 8.359 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3516, allocations: 8 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3518, allocations: 148.2 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3518, allocations: 0 / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.3521, allocations: 35.92 kB / 0.5671 GB, free: 13.21 MB / 414.1 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) * 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.002317/0.3544, allocations: 1.138 MB / 0.5683 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3546, allocations: 59.91 kB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3546, allocations: 4 kB / 0.5683 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.3547, allocations: 31.92 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3551, allocations: 34.66 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3572, allocations: 1.676 MB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.389e-05/0.3573, allocations: 92.31 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.769e-05/0.3574, allocations: 17.28 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.3574, allocations: 35.42 kB / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3574, allocations: 0 / 0.5702 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3883, allocations: 4.172 MB / 0.5742 GB, free: 6.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.1, allocations: 18.75 kB / 0.5743 GB, free: 6.086 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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: 14.105463046988007]