Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 108.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 193.3 kB / 18.24 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2668/0.2668, allocations: 44.18 MB / 336.2 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.81 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1348, allocations: 60.82 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003588/0.1384, allocations: 1.764 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1399, allocations: 0.8575 MB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.14, allocations: 3.938 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1403, allocations: 39.88 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1406, allocations: 51.84 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1409, allocations: 91.77 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1411, allocations: 103.7 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.1412, allocations: 12.22 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.1413, allocations: 39.8 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.1414, allocations: 35.83 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1414, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.1415, allocations: 39.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1415, allocations: 27.86 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.1416, allocations: 43.73 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1418, allocations: 111.9 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1418, allocations: 0 / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1418, allocations: 0 / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1418, allocations: 0 / 472 MB, free: 11.37 MB / 350.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.0004843/0.1423, allocations: 415 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1424, allocations: 12.03 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.1424, allocations: 30.75 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1424, allocations: 16.75 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1426, allocations: 216.7 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1427, allocations: 4.375 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1427, allocations: 3.938 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1428, allocations: 53.67 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1428, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1428, allocations: 0 / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1429, allocations: 4 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.1429, allocations: 15.98 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.1432, allocations: 292.8 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1434, allocations: 58.67 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1435, allocations: 20.84 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1435, allocations: 3.984 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1437, allocations: 79.3 kB / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1437, allocations: 0 / 473.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005275/0.1442, allocations: 177.1 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1443, allocations: 51.41 kB / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1445, allocations: 199.3 kB / 473.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1445, allocations: 33.64 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.1445, allocations: 104.1 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.1446, allocations: 23.72 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1446, allocations: 25.7 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1448, allocations: 330.8 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.1448, allocations: 12 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1449, allocations: 37.7 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.145, allocations: 61.7 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.145, allocations: 0 / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1452, allocations: 105.6 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1452, allocations: 4 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1452, allocations: 0 / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1452, allocations: 3.984 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.1453, allocations: 23.88 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1453, allocations: 0 / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1454, allocations: 7.938 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1454, allocations: 4 kB / 474.4 MB, free: 8.734 MB / 350.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.0001076/0.1455, allocations: 133.8 kB / 474.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1455, allocations: 15.81 kB / 474.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.1456, allocations: 17.39 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1456, allocations: 4 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1456, allocations: 0 / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1456, allocations: 7.922 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1461, allocations: 395.3 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1461, allocations: 0 / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.1461, allocations: 11.98 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1461, allocations: 3.938 kB / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1461, allocations: 0 / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1461, allocations: 4 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1462, allocations: 0 / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1464, allocations: 208.2 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1465, allocations: 85.02 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1465, allocations: 4.312 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1466, allocations: 7.984 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1466, allocations: 8 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1466, allocations: 4 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1467, allocations: 148.9 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1468, allocations: 0 / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.147, allocations: 23.98 kB / 475.5 MB, free: 7.57 MB / 350.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 (8): * Single equations (assignments): 6 * 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.001527/0.1486, allocations: 1.102 MB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1488, allocations: 71.88 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1488, allocations: 0 / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1489, allocations: 27.98 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1492, allocations: 31.92 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1511, allocations: 1.667 MB / 478.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1514, allocations: 0.7041 MB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.1515, allocations: 12.88 kB / 479.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.1516, allocations: 35.42 kB / 479.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1516, allocations: 0 / 479.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.1649, allocations: 3.281 MB / 482.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.1652, allocations: 235.1 kB / 482.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.044, allocations: 0 / 482.6 MB, free: 0.5352 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches