Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001748/0.001748, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.002292/0.002292, allocations: 214.6 kB / 23.73 MB, free: 4.523 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.94 MB / 358.9 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 64.12 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.316, allocations: 65.48 MB / 0.5571 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003862/0.3199, allocations: 2.159 MB / 0.5592 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.3223, allocations: 1.271 MB / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.3225, allocations: 0 / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004269/0.323, allocations: 131.3 kB / 0.5605 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006416/0.3236, allocations: 242.9 kB / 0.5608 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.3241, allocations: 199.5 kB / 0.561 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.3247, allocations: 466.6 kB / 0.5614 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3249, allocations: 47.06 kB / 0.5614 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.3253, allocations: 299 kB / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3256, allocations: 159.2 kB / 0.5619 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.3256, allocations: 16 kB / 0.5619 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3258, allocations: 75.97 kB / 0.562 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.326, allocations: 139.4 kB / 0.5621 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3262, allocations: 138.9 kB / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.3268, allocations: 453.7 kB / 0.5627 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3268, allocations: 3.938 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3268, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3268, allocations: 0 / 0.5627 GB, free: 1.754 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001121/0.3279, allocations: 0.7644 MB / 0.5634 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3279, allocations: 12.02 kB / 0.5634 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.498e-05/0.328, allocations: 46.73 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.3281, allocations: 68.52 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.3287, allocations: 347.2 kB / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3287, allocations: 16.38 kB / 0.5639 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3287, allocations: 19.89 kB / 0.5639 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.3292, allocations: 205.4 kB / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3292, allocations: 0 / 0.5641 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3292, allocations: 8 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3292, allocations: 4 kB / 0.5641 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.3295, allocations: 103.9 kB / 0.5642 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3305, allocations: 0.75 MB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.3312, allocations: 242.5 kB / 0.5652 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3314, allocations: 87.52 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3314, allocations: 11.94 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.3318, allocations: 212.5 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.3318, allocations: 0 / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002683/0.3345, allocations: 1.168 MB / 0.5666 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3346, allocations: 140.5 kB / 0.5667 GB, free: 13.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/0.3356, allocations: 0.8164 MB / 0.5675 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.3356, allocations: 37.7 kB / 0.5676 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.3358, allocations: 245 kB / 0.5678 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.336, allocations: 146.8 kB / 0.5679 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3361, allocations: 86.08 kB / 0.568 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3363, allocations: 374.8 kB / 0.5684 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.3366, allocations: 112.8 kB / 0.5685 GB, free: 11.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.3369, allocations: 195.2 kB / 0.5687 GB, free: 11.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3374, allocations: 322.8 kB / 0.569 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3375, allocations: 4 kB / 0.569 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008042/0.3383, allocations: 452.9 kB / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3383, allocations: 8 kB / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3383, allocations: 0 / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3383, allocations: 4 kB / 0.5694 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.3386, allocations: 83.91 kB / 0.5695 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3386, allocations: 15.86 kB / 0.5695 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3388, allocations: 15.94 kB / 0.5695 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3388, allocations: 23.98 kB / 0.5696 GB, free: 10.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002653/0.3391, allocations: 232.2 kB / 0.5698 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.802e-05/0.3392, allocations: 79.5 kB / 0.5699 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3402, allocations: 0.5183 MB / 0.5704 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3402, allocations: 4 kB / 0.5704 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.3402, allocations: 7.938 kB / 0.5704 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3402, allocations: 3.984 kB / 0.5704 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.3422, allocations: 1.282 MB / 0.5716 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3422, allocations: 4 kB / 0.5716 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3424, allocations: 67.84 kB / 0.5717 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3424, allocations: 4 kB / 0.5717 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.3424, allocations: 16 kB / 0.5717 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.3424, allocations: 11.98 kB / 0.5717 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3424, allocations: 3.938 kB / 0.5717 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3434, allocations: 0.8364 MB / 0.5726 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.3436, allocations: 107.5 kB / 0.5727 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.3437, allocations: 19.94 kB / 0.5727 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.344, allocations: 15.98 kB / 0.5727 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3441, allocations: 51.81 kB / 0.5727 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.3441, allocations: 19.98 kB / 0.5728 GB, free: 6.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006813/0.3448, allocations: 0.5928 MB / 0.5733 GB, free: 6.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3448, allocations: 0 / 0.5733 GB, free: 6.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005288/0.3453, allocations: 95.88 kB / 0.5734 GB, free: 6.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003389/0.3487, allocations: 1.831 MB / 0.5752 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.3494, allocations: 318.6 kB / 0.5755 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3494, allocations: 256 / 0.5755 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.3498, allocations: 163.7 kB / 0.5757 GB, free: 4.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/0.3507, allocations: 134.8 kB / 0.5758 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.3571, allocations: 4.8 MB / 0.5805 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3575, allocations: 296.5 kB / 0.5808 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002261/0.3577, allocations: 75.25 kB / 0.5809 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.358, allocations: 191.4 kB / 0.581 GB, free: 14.45 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.358, allocations: 0 / 0.581 GB, free: 14.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.4022, allocations: 11.97 MB / 0.5927 GB, free: 2.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12, allocations: 19.31 kB / 0.5927 GB, free: 2.566 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 15.135638966225088]