Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.000866/0.000866, allocations: 76.06 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.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.000864/0.000864, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8824/0.8824, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 318.4 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.257e-05, allocations: 2.281 kB / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002855/0.002878, allocations: 1.488 MB / 319.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.003619, allocations: 474.6 kB / 320.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.003664, allocations: 0 / 320.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.003778, allocations: 15.86 kB / 320.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.003853, allocations: 19.81 kB / 320.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.004025, allocations: 39.84 kB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.004111, allocations: 55.84 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004215, allocations: 15.97 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.004334, allocations: 43.89 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.004388, allocations: 15.97 kB / 320.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.004405, allocations: 11.94 kB / 320.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.981e-05/0.004455, allocations: 15.94 kB / 320.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.004473, allocations: 15.98 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.004495, allocations: 19.92 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004635, allocations: 75.77 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004637, allocations: 0 / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004639, allocations: 0 / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.004643, allocations: 0 / 320.7 MB, free: 4.086 MB / 282.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.000451/0.005094, allocations: 321.3 kB / 321 MB, free: 3.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.005131, allocations: 8.922 kB / 321 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.005159, allocations: 30.75 kB / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.005183, allocations: 8.938 kB / 321 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.968e-05/0.005272, allocations: 121.7 kB / 321.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.005289, allocations: 4.375 kB / 321.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.005299, allocations: 4.359 kB / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.005483, allocations: 90.14 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.00549, allocations: 192 / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005502, allocations: 4.125 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005506, allocations: 0 / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.005676, allocations: 83.92 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.006037, allocations: 263.8 kB / 321.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006201, allocations: 66.53 kB / 321.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.006284, allocations: 48.94 kB / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.0063, allocations: 3.938 kB / 321.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.00632, allocations: 34.56 kB / 321.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.006321, allocations: 0 / 321.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003307/0.006651, allocations: 157.5 kB / 321.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.006679, allocations: 55.41 kB / 322 MB, free: 2.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.751e-05/0.006737, allocations: 109.8 kB / 322.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.006747, allocations: 25.7 kB / 322.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.006785, allocations: 96.08 kB / 322.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.006805, allocations: 23.83 kB / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.006833, allocations: 13.72 kB / 322.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.00691, allocations: 322.8 kB / 322.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.006985, allocations: 39.95 kB / 322.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.007053, allocations: 35.95 kB / 322.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.007195, allocations: 80.8 kB / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007197, allocations: 0 / 322.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001727/0.007369, allocations: 113.5 kB / 322.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.007381, allocations: 4 kB / 322.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.007386, allocations: 0 / 322.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.007396, allocations: 4 kB / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.007472, allocations: 20.42 kB / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007477, allocations: 0 / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.007519, allocations: 27.86 kB / 322.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.007525, allocations: 4 kB / 322.9 MB, free: 1.715 MB / 282.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 6.435e-05/0.007589, allocations: 117.8 kB / 323 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.007603, allocations: 0 / 323 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.007821, allocations: 133.7 kB / 323.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007825, allocations: 7.969 kB / 323.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007829, allocations: 0 / 323.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007832, allocations: 4 kB / 323.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007955, allocations: 144.6 kB / 323.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007956, allocations: 0 / 323.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.008008, allocations: 27.97 kB / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.00801, allocations: 0 / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.008019, allocations: 8 kB / 323.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00802, allocations: 0 / 323.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008021, allocations: 4.312 kB / 323.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.008233, allocations: 227.4 kB / 323.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.008239, allocations: 3.953 kB / 323.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.008251, allocations: 0 / 323.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.008303, allocations: 19.92 kB / 323.5 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.00834, allocations: 11.98 kB / 323.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.008343, allocations: 0 / 323.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.008376, allocations: 91.27 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008376, allocations: 0 / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.008533, allocations: 8 kB / 323.7 MB, free: 0.8438 MB / 282.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.0004184/0.008952, allocations: 0.7592 MB / 324.4 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.009166, allocations: 83.91 kB / 324.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009168, allocations: 0 / 324.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.009248, allocations: 43.95 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.009468, allocations: 15.94 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.009821, allocations: 186.5 kB / 324.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.009867, allocations: 71.58 kB / 324.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.00989, allocations: 8 kB / 324.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.009937, allocations: 20.5 kB / 324.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009938, allocations: 0 / 324.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.02408, allocations: 2.737 MB / 327.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.647, allocations: 4 kB / 327.6 MB, free: 12.96 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.303058269433677]