Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001595/0.001595, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002074/0.002074, allocations: 219 kB / 21.46 MB, free: 1.586 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.683/1.683, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2542/0.2542, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",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.001994/0.001994, allocations: 63.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1388, allocations: 65.43 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003621/0.1425, allocations: 1.941 MB / 0.5544 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1444, allocations: 1.064 MB / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1446, allocations: 0 / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1449, allocations: 51.64 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.1453, allocations: 99.53 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1457, allocations: 99.64 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.146, allocations: 147.5 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1461, allocations: 25.77 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1462, allocations: 59.7 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1464, allocations: 55.7 kB / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.1464, allocations: 8 kB / 0.556 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1465, allocations: 43.98 kB / 0.556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.1466, allocations: 27.91 kB / 0.556 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1467, allocations: 55.56 kB / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.147, allocations: 155.3 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.147, allocations: 0 / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.147, allocations: 0 / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.147, allocations: 4 kB / 0.5562 GB, free: 6.215 MB / 414.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.0008166/0.1478, allocations: 488.1 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1479, allocations: 8.031 kB / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.1479, allocations: 4.188 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1479, allocations: 42.69 kB / 0.5568 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.148, allocations: 16.84 kB / 0.5568 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1484, allocations: 229 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1484, allocations: 12.12 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1484, allocations: 4 kB / 0.557 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.1487, allocations: 113.4 kB / 0.5571 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1487, allocations: 3.938 kB / 0.5571 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1487, allocations: 4 kB / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1487, allocations: 0 / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1489, allocations: 51.95 kB / 0.5572 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/0.1497, allocations: 0.5087 MB / 0.5577 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1501, allocations: 90.53 kB / 0.5578 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.1502, allocations: 32.84 kB / 0.5578 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1502, allocations: 4 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1505, allocations: 79.38 kB / 0.5579 GB, free: 4.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1505, allocations: 0 / 0.5579 GB, free: 4.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005497/0.151, allocations: 149.4 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1511, allocations: 51.41 kB / 0.5581 GB, free: 4.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1513, allocations: 202.2 kB / 0.5583 GB, free: 3.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1514, allocations: 25.7 kB / 0.5583 GB, free: 3.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1515, allocations: 124 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.1516, allocations: 35.72 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.1516, allocations: 25.72 kB / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1519, allocations: 330.8 kB / 0.5588 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.152, allocations: 27.98 kB / 0.5588 GB, free: 3.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1522, allocations: 64.39 kB / 0.5589 GB, free: 3.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.1525, allocations: 104.6 kB / 0.559 GB, free: 3.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1525, allocations: 0 / 0.559 GB, free: 3.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004272/0.1529, allocations: 141.4 kB / 0.5591 GB, free: 3.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1529, allocations: 4 kB / 0.5591 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.1529, allocations: 4 kB / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/0.153, allocations: 3.938 kB / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1532, allocations: 27.92 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1532, allocations: 0 / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1533, allocations: 23.88 kB / 0.5592 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1533, allocations: 4 kB / 0.5592 GB, free: 2.938 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.0001781/0.1535, allocations: 128.1 kB / 0.5593 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1535, allocations: 15.91 kB / 0.5593 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.1536, allocations: 29.27 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1536, allocations: 3.984 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1536, allocations: 0 / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1536, allocations: 0 / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.154, allocations: 209.6 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.154, allocations: 0 / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1541, allocations: 11.98 kB / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1541, allocations: 0 / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1541, allocations: 11.94 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1541, allocations: 3.938 kB / 0.5596 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.1541, allocations: 3.984 kB / 0.5596 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.1547, allocations: 180.9 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.1548, allocations: 92.98 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1548, allocations: 7.938 kB / 0.5598 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.1549, allocations: 12.06 kB / 0.5598 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.155, allocations: 7.984 kB / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.155, allocations: 4.188 kB / 0.5598 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.1552, allocations: 144.4 kB / 0.56 GB, free: 1.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1552, allocations: 3.938 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.1556, allocations: 27.98 kB / 0.56 GB, free: 1.961 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.003083/0.1587, allocations: 1.025 MB / 0.561 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.1591, allocations: 79.83 kB / 0.5611 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1591, allocations: 0 / 0.5611 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1593, allocations: 31.92 kB / 0.5611 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.1598, allocations: 39.97 kB / 0.5612 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.1631, allocations: 1.764 MB / 0.5629 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.1636, allocations: 0.7162 MB / 0.5636 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1637, allocations: 21.42 kB / 0.5636 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1638, allocations: 43.42 kB / 0.5636 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1638, allocations: 0 / 0.5636 GB, free: 14.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.1884, allocations: 3.892 MB / 0.5674 GB, free: 10.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.755, allocations: 15.75 kB / 0.5675 GB, free: 10.43 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 12.303239197004586]