Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001526/0.001526, 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.001968/0.001968, allocations: 204.5 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2304/0.2304, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 0.4962 GB, free: 8.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3671, allocations: 66.03 MB / 0.5606 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002669/0.3698, allocations: 1.717 MB / 0.5623 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3711, allocations: 0.9727 MB / 0.5633 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.3712, allocations: 0 / 0.5633 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3715, allocations: 42.98 kB / 0.5633 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.3717, allocations: 101.6 kB / 0.5634 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.3719, allocations: 74.81 kB / 0.5635 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3721, allocations: 107.9 kB / 0.5636 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.3721, allocations: 13.23 kB / 0.5636 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.3722, allocations: 40.81 kB / 0.5636 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.3723, allocations: 35.55 kB / 0.5637 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3723, allocations: 6.094 kB / 0.5637 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.3724, allocations: 40.73 kB / 0.5637 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.3724, allocations: 24.05 kB / 0.5637 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.3725, allocations: 28.17 kB / 0.5638 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3726, allocations: 125.8 kB / 0.5639 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3726, allocations: 2.781 kB / 0.5639 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3726, allocations: 3.938 kB / 0.5639 GB, free: 31.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3726, allocations: 0 / 0.5639 GB, free: 31.21 MB / 446.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.0004105/0.373, allocations: 343.7 kB / 0.5642 GB, free: 30.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3731, allocations: 9 kB / 0.5642 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.3731, allocations: 34.08 kB / 0.5643 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.3731, allocations: 11.77 kB / 0.5643 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3733, allocations: 157.7 kB / 0.5644 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3733, allocations: 4.875 kB / 0.5644 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3734, allocations: 7.812 kB / 0.5644 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3735, allocations: 56.55 kB / 0.5645 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3735, allocations: 0.5312 kB / 0.5645 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3735, allocations: 3 kB / 0.5645 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3735, allocations: 1.781 kB / 0.5645 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.3736, allocations: 18.84 kB / 0.5645 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.3739, allocations: 257.2 kB / 0.5648 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.374, allocations: 61.8 kB / 0.5648 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.3741, allocations: 22.55 kB / 0.5648 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3741, allocations: 0 / 0.5648 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.3742, allocations: 69.83 kB / 0.5649 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3742, allocations: 0 / 0.5649 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004762/0.3747, allocations: 183 kB / 0.5651 GB, free: 30.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.3747, allocations: 53.97 kB / 0.5651 GB, free: 30.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3748, allocations: 203.7 kB / 0.5653 GB, free: 30 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3749, allocations: 29.64 kB / 0.5653 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3749, allocations: 109.5 kB / 0.5655 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3749, allocations: 29.77 kB / 0.5655 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.375, allocations: 27.17 kB / 0.5655 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.375, allocations: 325.3 kB / 0.5658 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.3751, allocations: 20.17 kB / 0.5658 GB, free: 29.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.3751, allocations: 37.17 kB / 0.5659 GB, free: 29.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3752, allocations: 66.14 kB / 0.5659 GB, free: 29.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3752, allocations: 0 / 0.5659 GB, free: 29.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.3754, allocations: 106.6 kB / 0.566 GB, free: 29.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3754, allocations: 7.25 kB / 0.566 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3754, allocations: 0 / 0.566 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3754, allocations: 0 / 0.566 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.3755, allocations: 18.67 kB / 0.5661 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3755, allocations: 5.156 kB / 0.5661 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.3755, allocations: 6.844 kB / 0.5661 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3755, allocations: 7.078 kB / 0.5661 GB, free: 29.36 MB / 446.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 7.674e-05/0.3756, allocations: 128.1 kB / 0.5662 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3756, allocations: 14.91 kB / 0.5662 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3759, allocations: 122.2 kB / 0.5663 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3759, allocations: 3.031 kB / 0.5663 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3759, allocations: 0 / 0.5663 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3759, allocations: 8.594 kB / 0.5663 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.3762, allocations: 370.4 kB / 0.5667 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3762, allocations: 3.156 kB / 0.5667 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.3763, allocations: 9.438 kB / 0.5667 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3763, allocations: 7.031 kB / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3763, allocations: 0 / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3763, allocations: 2.906 kB / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3763, allocations: 240 / 0.5667 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3764, allocations: 225.3 kB / 0.5669 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.3765, allocations: 7.047 kB / 0.5669 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3765, allocations: 6.906 kB / 0.5669 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.3766, allocations: 3.328 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.3766, allocations: 13.36 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3766, allocations: 2.438 kB / 0.567 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.376e-05/0.3767, allocations: 154.5 kB / 0.5671 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3767, allocations: 0 / 0.5671 GB, free: 28.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.3769, allocations: 32.56 kB / 0.5671 GB, free: 28.53 MB / 446.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.001998/0.3789, allocations: 1.135 MB / 0.5683 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3791, allocations: 57.53 kB / 0.5683 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3791, allocations: 0 / 0.5683 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.3792, allocations: 27.77 kB / 0.5683 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3795, allocations: 45.64 kB / 0.5684 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3809, allocations: 1.676 MB / 0.57 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.381, allocations: 91.17 kB / 0.5701 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.381, allocations: 21.89 kB / 0.5701 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.3811, allocations: 43.75 kB / 0.5702 GB, free: 26.19 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3811, allocations: 0 / 0.5702 GB, free: 26.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.4129, allocations: 4.163 MB / 0.5742 GB, free: 24.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.09, allocations: 8.859 kB / 0.5742 GB, free: 24.88 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.140999855997507]