Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001913/0.001913, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002446/0.002446, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.537/1.537, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2316/0.2316, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.91 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 65.99 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003001/0.1355, allocations: 1.69 MB / 0.5571 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1371, allocations: 1.019 MB / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.1372, allocations: 0 / 0.5581 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.1375, allocations: 63.73 kB / 0.5582 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1378, allocations: 111.5 kB / 0.5583 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.138, allocations: 71.67 kB / 0.5583 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1382, allocations: 107.7 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1382, allocations: 8.234 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.1383, allocations: 51.77 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1384, allocations: 51.77 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.1384, allocations: 4 kB / 0.5585 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.581e-05/0.1385, allocations: 35.98 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1386, allocations: 15.92 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.1386, allocations: 39.67 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1388, allocations: 103.6 kB / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1388, allocations: 0 / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1388, allocations: 0 / 0.5587 GB, free: 2.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1388, allocations: 4 kB / 0.5587 GB, free: 2.395 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005762/0.1394, allocations: 410.7 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1394, allocations: 8.031 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1395, allocations: 38.75 kB / 0.5592 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1395, allocations: 12.84 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1398, allocations: 211.2 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1398, allocations: 384 / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1398, allocations: 3.938 kB / 0.5594 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.14, allocations: 61.61 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.14, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.14, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.14, allocations: 0 / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.029e-05/0.1401, allocations: 19.97 kB / 0.5595 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.1403, allocations: 185.6 kB / 0.5596 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1404, allocations: 50.55 kB / 0.5597 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.1405, allocations: 24.8 kB / 0.5597 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1405, allocations: 3.938 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1406, allocations: 63.39 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1406, allocations: 0 / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002801/0.1409, allocations: 93.8 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.141, allocations: 55.41 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1412, allocations: 210.2 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1412, allocations: 25.7 kB / 0.5601 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1413, allocations: 104.1 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1413, allocations: 11.91 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1413, allocations: 17.72 kB / 0.5603 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1415, allocations: 322.8 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.1415, allocations: 20.05 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.1416, allocations: 29.72 kB / 0.5606 GB, free: 228 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1417, allocations: 45.7 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1417, allocations: 3.938 kB / 0.5607 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.1418, allocations: 81.53 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1419, allocations: 11.98 kB / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1419, allocations: 0 / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1419, allocations: 0 / 0.5608 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.1419, allocations: 12.03 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.142, allocations: 4 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.142, allocations: 3.938 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.142, allocations: 4 kB / 0.5608 GB, free: 48 kB / 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 (7): * Single equations (assignments): 7 * 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.0001274/0.1421, allocations: 135.9 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1422, allocations: 7.953 kB / 0.5609 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.1422, allocations: 12.98 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1422, allocations: 4 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1422, allocations: 0 / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1422, allocations: 4 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1424, allocations: 189.5 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1424, allocations: 0 / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.1424, allocations: 8 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1424, allocations: 3.984 kB / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1424, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1424, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1424, allocations: 0 / 0.5611 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1426, allocations: 124.9 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1426, allocations: 81.06 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1427, allocations: 8 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.1427, allocations: 0 / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.1427, allocations: 3.984 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1427, allocations: 4 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1429, allocations: 148.2 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1429, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1431, allocations: 16 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001979/0.1451, allocations: 0.9599 MB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1453, allocations: 39.92 kB / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1453, allocations: 0 / 0.5625 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.1453, allocations: 15.98 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1456, allocations: 34.95 kB / 0.5625 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1475, allocations: 1.513 MB / 0.564 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1479, allocations: 0.7041 MB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.1479, allocations: 8.562 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.148, allocations: 31.42 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.148, allocations: 0 / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.174, allocations: 3.17 MB / 0.5678 GB, free: 8.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.328, allocations: 7.938 kB / 0.5678 GB, free: 8.805 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.517710839165375]