Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001319/0.001319, allocations: 113.2 kB / 20.44 MB, free: 1.465 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.001463/0.001463, allocations: 216.9 kB / 23.74 MB, free: 4.691 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2494/0.2494, allocations: 46.94 MB / 360.9 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3543, allocations: 66.04 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00382/0.3581, allocations: 2.132 MB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.3607, allocations: 1.41 MB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3608, allocations: 4 kB / 0.5641 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.118e-05/0.3609, allocations: 27.66 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.361, allocations: 39.59 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.3616, allocations: 199.2 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.3619, allocations: 176.1 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.3621, allocations: 97.66 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3623, allocations: 87.64 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3624, allocations: 87.55 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3625, allocations: 16 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.3628, allocations: 159.9 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.3629, allocations: 43.78 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.363, allocations: 91.45 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.3634, allocations: 318.6 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.3634, allocations: 3.984 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3634, allocations: 4 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3634, allocations: 0 / 0.5654 GB, free: 15.54 MB / 414.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.0006655/0.3641, allocations: 457.5 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3642, allocations: 12.03 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.3643, allocations: 87.2 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.3652, allocations: 88.69 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3656, allocations: 162.1 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3656, allocations: 21.03 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.3657, allocations: 36.38 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.3661, allocations: 226.2 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.3661, allocations: 3.984 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.3662, allocations: 16 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3662, allocations: 11.94 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.3665, allocations: 158.5 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3676, allocations: 0.6092 MB / 0.5672 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.3681, allocations: 219.3 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.3683, allocations: 61.3 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3683, allocations: 4.234 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3684, allocations: 34.8 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.3684, allocations: 0 / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005427/0.3689, allocations: 223.8 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.369, allocations: 59.34 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3691, allocations: 101.8 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3691, allocations: 29.7 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3693, allocations: 152.5 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.3694, allocations: 95.16 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.3694, allocations: 41.7 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3696, allocations: 326.8 kB / 0.5685 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3697, allocations: 43.97 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.3698, allocations: 49.84 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3701, allocations: 113.3 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3701, allocations: 0 / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003/0.3704, allocations: 169.5 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3704, allocations: 4 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3704, allocations: 0 / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3704, allocations: 8 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.3708, allocations: 99.88 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3708, allocations: 4 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.3709, allocations: 11.95 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3709, allocations: 4 kB / 0.569 GB, free: 11.67 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.0001232/0.371, allocations: 137.7 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.371, allocations: 15.89 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.3711, allocations: 21.62 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.3711, allocations: 11.92 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3711, allocations: 0 / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3711, allocations: 0 / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.3714, allocations: 252.6 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3714, allocations: 3.984 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.3718, allocations: 107.8 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3718, allocations: 0 / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3718, allocations: 4.25 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3718, allocations: 7.938 kB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.3718, allocations: 4 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3721, allocations: 275.6 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.3722, allocations: 23.84 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.3722, allocations: 7.984 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3723, allocations: 15.88 kB / 0.5699 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3723, allocations: 11.97 kB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3723, allocations: 8 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.3724, allocations: 79.28 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3724, allocations: 0 / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3727, allocations: 59.78 kB / 0.57 GB, free: 10.57 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.0009233/0.3736, allocations: 0.8763 MB / 0.5709 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.3739, allocations: 123.9 kB / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3739, allocations: 0 / 0.571 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.374, allocations: 72.84 kB / 0.5711 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3743, allocations: 11.94 kB / 0.5711 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3767, allocations: 1.98 MB / 0.573 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3771, allocations: 0.7434 MB / 0.5737 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3772, allocations: 21.41 kB / 0.5737 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3773, allocations: 63.41 kB / 0.5738 GB, free: 6.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3773, allocations: 0 / 0.5738 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.4061, allocations: 2.99 MB / 0.5767 GB, free: 3.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.56, allocations: 11.11 kB / 0.5767 GB, free: 3.676 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.764118358994892]