Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.00159/0.00159, allocations: 112.3 kB / 17.33 MB, free: 6.012 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.002038/0.002038, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.493/1.493, allocations: 222.9 MB / 241.9 MB, free: 13.74 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.2472/0.2472, allocations: 44.17 MB / 336.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.23 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1433, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004436/0.1477, allocations: 1.718 MB / 470.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1494, allocations: 0.8458 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1496, allocations: 0 / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.15, allocations: 67.78 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1504, allocations: 55.81 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.1508, allocations: 87.83 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.1511, allocations: 91.7 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.1511, allocations: 11.98 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1513, allocations: 47.78 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1514, allocations: 47.77 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1514, allocations: 4 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1516, allocations: 31.98 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1516, allocations: 19.92 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1517, allocations: 23.81 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1519, allocations: 107.9 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1519, allocations: 0 / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.152, allocations: 0 / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.152, allocations: 0 / 472 MB, free: 11.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006016/0.1526, allocations: 403 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1526, allocations: 8.031 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1527, allocations: 34.75 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.1527, allocations: 12.83 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.153, allocations: 204.1 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.153, allocations: 4.375 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.153, allocations: 3.938 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1532, allocations: 45.67 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1532, allocations: 8 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1532, allocations: 0 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1532, allocations: 0 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1533, allocations: 19.92 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.1536, allocations: 181.6 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1537, allocations: 62.48 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1538, allocations: 20.86 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1538, allocations: 0 / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.1541, allocations: 67.33 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1541, allocations: 0 / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003059/0.1544, allocations: 97.75 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1544, allocations: 51.41 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1546, allocations: 194.1 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1547, allocations: 25.7 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1547, allocations: 104.1 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1548, allocations: 15.81 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1548, allocations: 21.7 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.155, allocations: 322.8 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.155, allocations: 12 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.015e-05/0.1551, allocations: 33.64 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.1552, allocations: 49.7 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1552, allocations: 3.938 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.1554, allocations: 81.53 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1554, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1554, allocations: 4 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1554, allocations: 0 / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.1555, allocations: 8 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1555, allocations: 4.031 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.1556, allocations: 7.984 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1556, allocations: 0 / 474.1 MB, free: 9.133 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 (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 9.779e-05/0.1557, allocations: 129.8 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1557, allocations: 11.81 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.1558, allocations: 16.3 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1558, allocations: 0 / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1558, allocations: 0 / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1558, allocations: 0 / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1559, allocations: 197.5 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1559, allocations: 0 / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.156, allocations: 7.984 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.156, allocations: 0 / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.156, allocations: 0 / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.156, allocations: 3.938 kB / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.156, allocations: 0 / 474.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1562, allocations: 117.1 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1562, allocations: 85.02 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1563, allocations: 4 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.1563, allocations: 0 / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1564, allocations: 3.984 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1564, allocations: 8 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1565, allocations: 135.2 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1567, allocations: 23.98 kB / 474.8 MB, free: 8.305 MB / 350.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.001317/0.158, allocations: 0.9543 MB / 475.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1582, allocations: 43.92 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1582, allocations: 0 / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.1583, allocations: 19.98 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1586, allocations: 23.98 kB / 475.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1602, allocations: 1.492 MB / 477.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1605, allocations: 0.7079 MB / 478 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1606, allocations: 12.55 kB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1607, allocations: 31.42 kB / 478.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1607, allocations: 0 / 478.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.1742, allocations: 2.9 MB / 481 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.1745, allocations: 241.9 kB / 481.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/1.998, allocations: 0 / 481.2 MB, free: 1.984 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches