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.001402/0.001402, 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.001587/0.001587, allocations: 212.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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2377/0.2377, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002487/0.002487, allocations: 63.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3496, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004194/0.3538, allocations: 2.032 MB / 0.5626 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.3566, allocations: 1.278 MB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3568, allocations: 7.938 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.3568, allocations: 19.73 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.357, allocations: 39.66 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.3577, allocations: 195.3 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.358, allocations: 180 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3582, allocations: 85.7 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3584, allocations: 87.64 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3585, allocations: 87.48 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.3586, allocations: 16 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3589, allocations: 143.9 kB / 0.5647 GB, free: 36 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.3589, allocations: 39.91 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.359, allocations: 87.41 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.3595, allocations: 318.6 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3595, allocations: 0 / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3595, allocations: 0 / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3595, allocations: 0 / 0.5651 GB, free: 15.6 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.0006424/0.3601, allocations: 465.5 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3602, allocations: 8.031 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.3603, allocations: 91.2 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000909/0.3612, allocations: 76.7 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3615, allocations: 170.1 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3616, allocations: 21.03 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.3616, allocations: 36.38 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.3621, allocations: 230.2 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3621, allocations: 11.92 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.3621, allocations: 12 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3621, allocations: 8 kB / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.3624, allocations: 162.5 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3634, allocations: 0.5625 MB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.364, allocations: 215.6 kB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3641, allocations: 61.3 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3641, allocations: 4.234 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3642, allocations: 34.8 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3642, allocations: 7.938 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004689/0.3646, allocations: 211.9 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3647, allocations: 59.34 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.3648, allocations: 105.8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3648, allocations: 29.7 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3649, allocations: 156.5 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.365, allocations: 95.17 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.365, allocations: 41.7 kB / 0.5678 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3652, allocations: 318.8 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.3653, allocations: 43.97 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.3654, allocations: 49.83 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3656, allocations: 121.2 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3656, allocations: 0 / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000288/0.3659, allocations: 165.6 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.366, allocations: 4 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.366, allocations: 3.984 kB / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.366, allocations: 256 / 0.5685 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.3664, allocations: 103.8 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3664, allocations: 8 kB / 0.5686 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.3664, allocations: 11.95 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3665, allocations: 19.91 kB / 0.5687 GB, free: 11.75 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.0001233/0.3666, allocations: 129.8 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.3666, allocations: 11.91 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3667, allocations: 21.62 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3667, allocations: 11.88 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3667, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3667, allocations: 0 / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.367, allocations: 252.6 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.367, allocations: 0 / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.3674, allocations: 91.95 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3674, allocations: 3.984 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3674, allocations: 4 kB / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3674, allocations: 7.938 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3674, allocations: 0 / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.3678, allocations: 283.6 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.3678, allocations: 15.84 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.3678, allocations: 7.938 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/0.3679, allocations: 11.94 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.368, allocations: 11.97 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.368, allocations: 8 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.368, allocations: 87.27 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.368, allocations: 0 / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.3683, allocations: 55.78 kB / 0.5696 GB, free: 10.68 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.0008252/0.3692, allocations: 0.8725 MB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3695, allocations: 127.9 kB / 0.5706 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3695, allocations: 0 / 0.5706 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3696, allocations: 72.78 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3698, allocations: 18.47 kB / 0.5707 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3722, allocations: 1.969 MB / 0.5726 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.3723, allocations: 133.6 kB / 0.5727 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.3724, allocations: 21.41 kB / 0.5728 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3725, allocations: 63.41 kB / 0.5728 GB, free: 7.281 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3725, allocations: 0 / 0.5728 GB, free: 7.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.4034, allocations: 3.224 MB / 0.576 GB, free: 4.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.73, allocations: 3.938 kB / 0.576 GB, free: 4.18 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.957292786799371]