Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",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.001257/0.001257, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001224/0.001224, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.387/1.387, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2023/0.2023, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003182/0.1139, allocations: 2.089 MB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1158, allocations: 1.313 MB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1159, allocations: 4 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.482e-05/0.116, allocations: 19.73 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1161, allocations: 31.66 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1166, allocations: 191.3 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1168, allocations: 168.1 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.117, allocations: 111.6 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1171, allocations: 75.64 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.1172, allocations: 87.55 kB / 473.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1172, allocations: 16 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1175, allocations: 143.9 kB / 473.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.1176, allocations: 51.78 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.1177, allocations: 91.47 kB / 473.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.118, allocations: 303.3 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.118, allocations: 0 / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.118, allocations: 0 / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1181, allocations: 7.938 kB / 474 MB, free: 9.582 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005785/0.1186, allocations: 0.511 MB / 474.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1187, allocations: 16.02 kB / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1188, allocations: 83.09 kB / 474.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.1196, allocations: 76.61 kB / 474.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1197, allocations: 192 kB / 474.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1198, allocations: 21.03 kB / 474.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.1198, allocations: 36.38 kB / 475 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.1202, allocations: 234.2 kB / 475.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1202, allocations: 0 / 475.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1202, allocations: 16 kB / 475.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1203, allocations: 8 kB / 475.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1205, allocations: 162.5 kB / 475.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.1215, allocations: 0.6516 MB / 476 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.1221, allocations: 233.3 kB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1223, allocations: 69.3 kB / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1223, allocations: 240 / 476.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.1224, allocations: 42.73 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.133e-06/0.1224, allocations: 0 / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005199/0.1229, allocations: 223.8 kB / 476.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.123, allocations: 59.34 kB / 476.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1231, allocations: 101.8 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.1231, allocations: 29.7 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1232, allocations: 152.2 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/0.1233, allocations: 82.75 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.1234, allocations: 45.7 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1236, allocations: 322.8 kB / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1237, allocations: 47.97 kB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.1238, allocations: 43.91 kB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.124, allocations: 120.8 kB / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1241, allocations: 0 / 477.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002828/0.1243, allocations: 170.1 kB / 477.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1244, allocations: 8 kB / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1244, allocations: 0 / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1244, allocations: 0 / 477.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1248, allocations: 103.8 kB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1248, allocations: 7.969 kB / 477.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.1249, allocations: 15.84 kB / 477.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1249, allocations: 8 kB / 477.9 MB, free: 5.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001561/0.1251, allocations: 129.8 kB / 478 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1251, allocations: 15.91 kB / 478 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1252, allocations: 21.12 kB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1252, allocations: 11.88 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1252, allocations: 256 / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1252, allocations: 3.984 kB / 478 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.1256, allocations: 285.4 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1256, allocations: 0 / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.126, allocations: 103.9 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.126, allocations: 0 / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.126, allocations: 7.938 kB / 478.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.126, allocations: 3.938 kB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.126, allocations: 0 / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1264, allocations: 267.4 kB / 478.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.1264, allocations: 92.92 kB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1265, allocations: 8 kB / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.1266, allocations: 11.92 kB / 478.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.1266, allocations: 15.98 kB / 478.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1267, allocations: 8 kB / 478.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.1267, allocations: 83.28 kB / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1267, allocations: 0 / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.127, allocations: 51.69 kB / 479 MB, free: 4.328 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0009068/0.1279, allocations: 0.8692 MB / 479.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1283, allocations: 148 kB / 480 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1283, allocations: 0 / 480 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1284, allocations: 79.84 kB / 480 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1287, allocations: 18.61 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.1309, allocations: 1.951 MB / 482 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1313, allocations: 0.7434 MB / 482.8 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.1314, allocations: 21.41 kB / 482.8 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.1316, allocations: 63.41 kB / 482.8 MB, free: 320 kB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1316, allocations: 0 / 482.8 MB, free: 320 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.1488, allocations: 2.654 MB / 485.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.444/7.593, allocations: 1.031 kB / 485.5 MB, free: 13.7 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches