Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001071/0.001071, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001168/0.001168, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9042/0.9042, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.676e-05, allocations: 4.531 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002529/0.002546, allocations: 1.508 MB / 326 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.003364, allocations: 0.4986 MB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.00341, allocations: 0 / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.003523, allocations: 23.81 kB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.00359, allocations: 11.86 kB / 326.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003762, allocations: 39.84 kB / 326.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.00385, allocations: 55.84 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.003945, allocations: 15.98 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.004115, allocations: 43.89 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.004173, allocations: 27.91 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.00419, allocations: 4 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.004242, allocations: 15.94 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.004258, allocations: 19.97 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.004284, allocations: 11.94 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.004427, allocations: 75.77 kB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004429, allocations: 0 / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00443, allocations: 0 / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004434, allocations: 0 / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004718/0.004905, allocations: 317.3 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.004943, allocations: 8.031 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.261e-05/0.004976, allocations: 38.75 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.004997, allocations: 4.891 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.005079, allocations: 113.7 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.005094, allocations: 8.375 kB / 327.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.005106, allocations: 8.359 kB / 327.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.005314, allocations: 90.19 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.00532, allocations: 192 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.005329, allocations: 4.125 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.005334, allocations: 3.938 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.005557, allocations: 79.86 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.005882, allocations: 267.9 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.006079, allocations: 78.47 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.006195, allocations: 48.97 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006209, allocations: 0 / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.00623, allocations: 30.56 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.006231, allocations: 0 / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004313/0.006662, allocations: 153.5 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.006693, allocations: 51.41 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.006763, allocations: 113.8 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006775, allocations: 25.7 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.00682, allocations: 92.09 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.006845, allocations: 19.83 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.006883, allocations: 17.72 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.006976, allocations: 322.7 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.00709, allocations: 39.95 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.007191, allocations: 39.95 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.007397, allocations: 72.8 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007399, allocations: 0 / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002674/0.007667, allocations: 121.9 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.00768, allocations: 4 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.007686, allocations: 8.062 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.007696, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.007793, allocations: 19.92 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.007799, allocations: 3.984 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.007853, allocations: 15.98 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.007862, allocations: 3.984 kB / 329.1 MB, free: 11.23 MB / 298.7 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 (5): * Single equations (assignments): 5 * 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 7e-05/0.007932, allocations: 117.8 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.007955, allocations: 4 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.008259, allocations: 125.7 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.008262, allocations: 4.375 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.008268, allocations: 7.984 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008271, allocations: 0 / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.008432, allocations: 152.7 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.008433, allocations: 3.938 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.008525, allocations: 23.91 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008527, allocations: 4 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008535, allocations: 3.938 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008537, allocations: 0 / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008538, allocations: 0 / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.008846, allocations: 227.4 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008855, allocations: 3.938 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.00887, allocations: 4 kB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.008953, allocations: 7.984 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.008991, allocations: 11.98 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.008996, allocations: 0 / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.009036, allocations: 91.27 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009036, allocations: 0 / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.009266, allocations: 16 kB / 329.8 MB, free: 10.37 MB / 298.7 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 (7): * Single equations (assignments): 7 * 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.0005573/0.009824, allocations: 0.7552 MB / 330.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.01008, allocations: 87.86 kB / 330.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01008, allocations: 0 / 330.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01019, allocations: 47.95 kB / 330.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01044, allocations: 4 kB / 330.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.01086, allocations: 194.9 kB / 330.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01092, allocations: 79.33 kB / 331 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.01095, allocations: 3.984 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.011, allocations: 20.5 kB / 331 MB, free: 9.098 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.011, allocations: 0 / 331 MB, free: 9.098 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.02529, allocations: 2.733 MB / 333.8 MB, free: 6.488 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.809, allocations: 6.375 kB / 333.8 MB, free: 6.484 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 8.554073562845588]