Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001558/0.001558, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.001706/0.001706, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1982/0.1982, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 69.73 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08562, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002693/0.08836, allocations: 1.682 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.08993, allocations: 1.406 MB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.09001, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.0903, allocations: 47.77 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.09049, allocations: 59.7 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.0907, allocations: 79.75 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.09084, allocations: 95.7 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.09094, allocations: 8.172 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.09102, allocations: 47.77 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.09117, allocations: 47.22 kB / 444.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.0912, allocations: 8 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.09131, allocations: 59.97 kB / 444.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.09136, allocations: 15.88 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.09141, allocations: 35.78 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.09159, allocations: 111.8 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.09161, allocations: 0 / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09161, allocations: 3.938 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.09162, allocations: 0 / 444.3 MB, free: 3.074 MB / 318.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.0004558/0.09208, allocations: 407 kB / 444.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.09213, allocations: 15.89 kB / 444.7 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.09216, allocations: 34.75 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.0922, allocations: 12.83 kB / 444.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.09238, allocations: 201.3 kB / 445 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.0924, allocations: 384 / 445 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.09242, allocations: 11.92 kB / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.09257, allocations: 67.39 kB / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.09259, allocations: 0 / 445.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.09261, allocations: 4 kB / 445.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.09262, allocations: 0 / 445.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.09269, allocations: 27.98 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.09296, allocations: 288.8 kB / 445.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.09311, allocations: 54.67 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.09317, allocations: 28.84 kB / 445.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.09319, allocations: 3.938 kB / 445.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.09336, allocations: 67.33 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.09337, allocations: 3.938 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000462/0.09384, allocations: 169.4 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.09388, allocations: 85.05 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.09399, allocations: 160.8 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.09401, allocations: 29.7 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.09405, allocations: 96.14 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.09407, allocations: 19.64 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.09411, allocations: 25.72 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.09416, allocations: 322.8 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.09422, allocations: 23.98 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.09428, allocations: 42.56 kB / 446.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.09444, allocations: 65.7 kB / 446.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.09445, allocations: 0 / 446.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.09465, allocations: 101.5 kB / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.09467, allocations: 4 kB / 446.7 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.09468, allocations: 4 kB / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.0947, allocations: 0 / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.09479, allocations: 19.92 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.0948, allocations: 4.062 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.09485, allocations: 7.938 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.09487, allocations: 4 kB / 446.7 MB, free: 464 kB / 318.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 6.183e-05/0.09493, allocations: 125.8 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.09496, allocations: 7.906 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.095, allocations: 12.72 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.09501, allocations: 4 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.09502, allocations: 0 / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.09503, allocations: 7.938 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.09541, allocations: 391.3 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09542, allocations: 384 / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.09546, allocations: 8 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.09547, allocations: 3.938 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.09548, allocations: 4 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.09549, allocations: 7.938 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0955, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.09572, allocations: 204.3 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.09577, allocations: 85 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.0958, allocations: 8.125 kB / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.09588, allocations: 0 / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.09592, allocations: 15.92 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.09594, allocations: 4 kB / 447.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.036e-05/0.09604, allocations: 119.2 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09605, allocations: 0 / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.09632, allocations: 32 kB / 447.7 MB, free: 15.32 MB / 334.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.001469/0.0978, allocations: 1.131 MB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.09799, allocations: 71.84 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.098, allocations: 0 / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.09808, allocations: 27.94 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.09842, allocations: 30 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.09999, allocations: 1.547 MB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1002, allocations: 0.6925 MB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.1003, allocations: 29.33 kB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.1004, allocations: 35.41 kB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1004, allocations: 0 / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1215, allocations: 3.464 MB / 454.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.446, allocations: 11.94 kB / 454.7 MB, free: 8.203 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches