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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002318/0.002318, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 44.92 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 64.19 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.0043/0.3552, allocations: 2.033 MB / 0.559 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.3575, allocations: 1.274 MB / 0.5602 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.3576, allocations: 4 kB / 0.5602 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.712e-05/0.3577, allocations: 23.67 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3578, allocations: 39.66 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.3583, allocations: 195.3 kB / 0.5605 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3585, allocations: 172.1 kB / 0.5606 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3587, allocations: 89.7 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3589, allocations: 95.58 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.3589, allocations: 75.55 kB / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.359, allocations: 16 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.3593, allocations: 147.9 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.3593, allocations: 47.78 kB / 0.5611 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.3594, allocations: 71.59 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.3598, allocations: 326.6 kB / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3598, allocations: 0 / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3598, allocations: 0 / 0.5615 GB, free: 2.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3598, allocations: 0 / 0.5615 GB, free: 2.934 MB / 398.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.0007217/0.3606, allocations: 465.5 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3606, allocations: 15.95 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.3607, allocations: 83.16 kB / 0.562 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3617, allocations: 84.69 kB / 0.5621 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.362, allocations: 166.1 kB / 0.5622 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.362, allocations: 29.03 kB / 0.5623 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.3621, allocations: 32.38 kB / 0.5623 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3625, allocations: 238.2 kB / 0.5625 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3625, allocations: 0 / 0.5625 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.3625, allocations: 12 kB / 0.5625 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3625, allocations: 4 kB / 0.5625 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.3628, allocations: 162.5 kB / 0.5627 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009261/0.3638, allocations: 0.5664 MB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3643, allocations: 203.9 kB / 0.5634 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3644, allocations: 69.23 kB / 0.5635 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3644, allocations: 4.234 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.535e-05/0.3645, allocations: 34.8 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.3645, allocations: 7.938 kB / 0.5635 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.000522/0.3651, allocations: 211 kB / 0.5638 GB, free: 456 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3651, allocations: 59.34 kB / 0.5638 GB, free: 384 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.3652, allocations: 105.8 kB / 0.5639 GB, free: 268 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.3652, allocations: 29.7 kB / 0.5639 GB, free: 232 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3653, allocations: 156.5 kB / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3654, allocations: 99.34 kB / 0.5642 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.3655, allocations: 37.7 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3656, allocations: 322.8 kB / 0.5645 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.3657, allocations: 51.91 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.873e-05/0.3658, allocations: 49.84 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3661, allocations: 113.3 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3661, allocations: 0 / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002867/0.3663, allocations: 161.6 kB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3664, allocations: 4 kB / 0.5649 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3664, allocations: 0 / 0.5649 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3664, allocations: 0 / 0.5649 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.3667, allocations: 111.6 kB / 0.565 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3667, allocations: 4 kB / 0.565 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.3668, allocations: 11.95 kB / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3668, allocations: 4 kB / 0.565 GB, free: 15.1 MB / 414.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.0001287/0.367, allocations: 133.7 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.367, allocations: 15.89 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.367, allocations: 21.62 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.367, allocations: 11.94 kB / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3671, allocations: 0 / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3671, allocations: 3.938 kB / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.3674, allocations: 248.6 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3674, allocations: 0 / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.3678, allocations: 100.1 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3678, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3678, allocations: 8 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3678, allocations: 7.938 kB / 0.5655 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3678, allocations: 0 / 0.5655 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.3681, allocations: 275.7 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3681, allocations: 15.84 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3682, allocations: 11.92 kB / 0.5658 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3683, allocations: 7.938 kB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3683, allocations: 15.97 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3683, allocations: 4 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3685, allocations: 87.28 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 4 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.3687, allocations: 59.72 kB / 0.566 GB, free: 14.01 MB / 414.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.0007852/0.3695, allocations: 0.8685 MB / 0.5668 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3698, allocations: 127.9 kB / 0.567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3698, allocations: 0 / 0.567 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3699, allocations: 68.84 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3702, allocations: 22.12 kB / 0.5671 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3725, allocations: 1.972 MB / 0.569 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3726, allocations: 133.6 kB / 0.5691 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.3727, allocations: 21.41 kB / 0.5691 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3728, allocations: 67.41 kB / 0.5692 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3728, allocations: 0 / 0.5692 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4035, allocations: 3.217 MB / 0.5723 GB, free: 7.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 7.938 kB / 0.5723 GB, free: 7.52 MB / 414.1 MB " [Timeout remaining time 648] (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.000219912 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.035217920783907]