Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001155/0.001155, allocations: 116.7 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.001246/0.001246, allocations: 189.3 kB / 18.25 MB, free: 5.105 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.43/1.43, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.252/0.252, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.11 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1443, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003514/0.1478, allocations: 1.729 MB / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1494, allocations: 0.8342 MB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1496, allocations: 0 / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1499, allocations: 67.78 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1503, allocations: 59.75 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1506, allocations: 91.58 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1508, allocations: 95.7 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1509, allocations: 7.984 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.151, allocations: 43.78 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1511, allocations: 47.77 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1512, allocations: 8 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1513, allocations: 35.98 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.277e-05/0.1514, allocations: 19.92 kB / 471.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.1514, allocations: 27.81 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1517, allocations: 99.86 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1517, allocations: 4 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1517, allocations: 0 / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1517, allocations: 0 / 472 MB, free: 11.47 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.000552/0.1523, allocations: 399 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1523, allocations: 16.03 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1524, allocations: 30.75 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1524, allocations: 12.84 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.1527, allocations: 208.1 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1527, allocations: 384 / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1528, allocations: 7.938 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1529, allocations: 53.61 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1529, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.153, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.153, allocations: 0 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.153, allocations: 19.98 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.1533, allocations: 181.6 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1534, allocations: 54.55 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1535, allocations: 24.78 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1535, allocations: 4 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.1538, allocations: 71.33 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1538, allocations: 0 / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.1541, allocations: 89.58 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1541, allocations: 55.41 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1543, allocations: 190.1 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1543, allocations: 25.7 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.1544, allocations: 100.1 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1544, allocations: 19.81 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1545, allocations: 13.72 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1546, allocations: 330.8 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1546, allocations: 15.98 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.1547, allocations: 25.7 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.1548, allocations: 53.66 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1548, allocations: 3.938 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.155, allocations: 81.52 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.155, allocations: 8 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.155, allocations: 0 / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.155, allocations: 0 / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.1551, allocations: 8.312 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1551, allocations: 4 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1552, allocations: 4 kB / 474.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1552, allocations: 8 kB / 474.1 MB, free: 9.148 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.9e-05/0.1553, allocations: 133.7 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1553, allocations: 11.81 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.1554, allocations: 16.3 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1554, allocations: 0 / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1554, allocations: 0 / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1554, allocations: 4 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1555, allocations: 185.5 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1556, allocations: 0 / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.1556, allocations: 8 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1556, allocations: 4 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1556, allocations: 7.984 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1556, allocations: 0 / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1556, allocations: 3.938 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1558, allocations: 101 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1558, allocations: 85 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1559, allocations: 8 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.1559, allocations: 0 / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.156, allocations: 11.94 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.156, allocations: 3.984 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1561, allocations: 139.2 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1561, allocations: 0 / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1563, allocations: 23.98 kB / 474.8 MB, free: 8.316 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.001298/0.1576, allocations: 0.9432 MB / 475.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1578, allocations: 47.92 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1578, allocations: 0 / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1579, allocations: 16 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1582, allocations: 23.97 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1598, allocations: 1.492 MB / 477.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1601, allocations: 0.7002 MB / 478 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.1601, allocations: 24.78 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.1602, allocations: 27.42 kB / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1602, allocations: 0 / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.1745, allocations: 2.913 MB / 481 MB, free: 2.254 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.1748, allocations: 235.5 kB / 481.2 MB, free: 2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.042, allocations: 0 / 481.2 MB, free: 2 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches