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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 253.1 MB, free: 13.09 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.2359/0.2359, allocations: 44.91 MB / 353.2 MB, free: 11.88 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.86 kB / 496.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3667, allocations: 64.28 MB / 0.548 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004076/0.3708, allocations: 2.127 MB / 0.55 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3734, allocations: 1.339 MB / 0.5513 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.3735, allocations: 3.562 kB / 0.5513 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.263e-05/0.3736, allocations: 19.73 kB / 0.5514 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3737, allocations: 40.59 kB / 0.5514 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3743, allocations: 187.1 kB / 0.5516 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.3745, allocations: 179.3 kB / 0.5517 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.3747, allocations: 79.05 kB / 0.5518 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3749, allocations: 79.77 kB / 0.5519 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.375, allocations: 88.02 kB / 0.552 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.375, allocations: 16.41 kB / 0.552 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3753, allocations: 151.1 kB / 0.5521 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3754, allocations: 47.8 kB / 0.5522 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.627e-05/0.3755, allocations: 91.31 kB / 0.5523 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.376, allocations: 316 kB / 0.5526 GB, free: 9.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.376, allocations: 0 / 0.5526 GB, free: 9.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.376, allocations: 1.125 kB / 0.5526 GB, free: 9.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.376, allocations: 0 / 0.5526 GB, free: 9.344 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.0006945/0.3767, allocations: 457.5 kB / 0.553 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3767, allocations: 10.7 kB / 0.553 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3768, allocations: 87.27 kB / 0.5531 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/0.3777, allocations: 71.67 kB / 0.5532 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3778, allocations: 134.3 kB / 0.5533 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.3778, allocations: 25.91 kB / 0.5533 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.3779, allocations: 35.41 kB / 0.5534 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3783, allocations: 231.5 kB / 0.5536 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3783, allocations: 3.984 kB / 0.5536 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.3783, allocations: 18.28 kB / 0.5536 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3783, allocations: 8.031 kB / 0.5536 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.3786, allocations: 162 kB / 0.5538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.3796, allocations: 0.5953 MB / 0.5543 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.3801, allocations: 216.2 kB / 0.5546 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3803, allocations: 60.73 kB / 0.5546 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3803, allocations: 6.453 kB / 0.5546 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3803, allocations: 41.33 kB / 0.5547 GB, free: 7.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3803, allocations: 0 / 0.5547 GB, free: 7.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004843/0.3808, allocations: 209.5 kB / 0.5549 GB, free: 7.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3808, allocations: 58.62 kB / 0.5549 GB, free: 7.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.3809, allocations: 107.5 kB / 0.555 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.381, allocations: 30.73 kB / 0.555 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.381, allocations: 155.7 kB / 0.5552 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.3811, allocations: 102.5 kB / 0.5553 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.3812, allocations: 39.02 kB / 0.5553 GB, free: 7.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3813, allocations: 325.1 kB / 0.5556 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.3814, allocations: 40.38 kB / 0.5557 GB, free: 6.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.524e-05/0.3815, allocations: 50.44 kB / 0.5557 GB, free: 6.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.3817, allocations: 112.4 kB / 0.5558 GB, free: 6.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3818, allocations: 0 / 0.5558 GB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003008/0.3821, allocations: 171.5 kB / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3821, allocations: 5.594 kB / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3821, allocations: 0 / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3821, allocations: 1.062 kB / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.3824, allocations: 104 kB / 0.5561 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3825, allocations: 1.25 kB / 0.5561 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.3825, allocations: 23.94 kB / 0.5561 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3825, allocations: 4.469 kB / 0.5561 GB, free: 6.629 MB / 398.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.0001207/0.3827, allocations: 136.8 kB / 0.5563 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.3827, allocations: 9.484 kB / 0.5563 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.3828, allocations: 26.5 kB / 0.5563 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3828, allocations: 11.31 kB / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3828, allocations: 0 / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3828, allocations: 0 / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.3831, allocations: 262.6 kB / 0.5566 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3831, allocations: 4 kB / 0.5566 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3834, allocations: 96.08 kB / 0.5567 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3834, allocations: 0 / 0.5567 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3834, allocations: 10.2 kB / 0.5567 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3835, allocations: 5.125 kB / 0.5567 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3835, allocations: 0 / 0.5567 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.3838, allocations: 273.3 kB / 0.5569 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3838, allocations: 12.67 kB / 0.5569 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3838, allocations: 5.344 kB / 0.5569 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.3839, allocations: 11.09 kB / 0.557 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.384, allocations: 12.66 kB / 0.557 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.384, allocations: 9.469 kB / 0.557 GB, free: 5.945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.297e-05/0.384, allocations: 82.52 kB / 0.5571 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.384, allocations: 5.312 kB / 0.5571 GB, free: 5.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.3844, allocations: 57.06 kB / 0.5571 GB, free: 5.84 MB / 398.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.0008025/0.3852, allocations: 0.8778 MB / 0.558 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3854, allocations: 127.9 kB / 0.5581 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3854, allocations: 4 kB / 0.5581 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3855, allocations: 67.91 kB / 0.5582 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.3858, allocations: 15.88 kB / 0.5582 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.3881, allocations: 1.982 MB / 0.5601 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3885, allocations: 0.7358 MB / 0.5608 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.421e-05/0.3886, allocations: 21.41 kB / 0.5609 GB, free: 1.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3887, allocations: 59.42 kB / 0.5609 GB, free: 1.828 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3887, allocations: 0 / 0.5609 GB, free: 1.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.413, allocations: 2.858 MB / 0.5637 GB, free: 15.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.428, allocations: 4.062 kB / 0.5637 GB, free: 15.05 MB / 414.1 MB " [Timeout remaining time 652] (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: 11.542103955987841]