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.001621/0.001621, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001911/0.001911, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.484/1.484, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001789/0.001789, allocations: 47.92 kB / 370.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2911, allocations: 52.18 MB / 422.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002812/0.294, allocations: 1.503 MB / 424 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009482/0.2949, allocations: 470.8 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.295, allocations: 4 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2951, allocations: 27.8 kB / 424.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.376e-05/0.2952, allocations: 11.88 kB / 424.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2953, allocations: 31.92 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2954, allocations: 55.89 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2956, allocations: 15.98 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2957, allocations: 27.86 kB / 424.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.2957, allocations: 31.84 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2958, allocations: 4 kB / 424.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.2958, allocations: 16 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.2959, allocations: 23.91 kB / 424.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.2959, allocations: 11.94 kB / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2961, allocations: 81.34 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2961, allocations: 0 / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2961, allocations: 0 / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2961, allocations: 0 / 424.8 MB, free: 12.12 MB / 334.1 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.0006714/0.2968, allocations: 306.1 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2968, allocations: 8.031 kB / 425.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.2969, allocations: 38.73 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.2969, allocations: 16.89 kB / 425.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.297, allocations: 110.5 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.297, allocations: 4.312 kB / 425.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.2971, allocations: 8.312 kB / 425.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.2973, allocations: 85.77 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2973, allocations: 0 / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2974, allocations: 4 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2974, allocations: 0 / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2977, allocations: 87.84 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.2982, allocations: 271.8 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2984, allocations: 70.53 kB / 425.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2986, allocations: 36.95 kB / 425.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.2986, allocations: 4 kB / 425.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2986, allocations: 42.58 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2986, allocations: 4 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005874/0.2992, allocations: 145.5 kB / 426.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2993, allocations: 55.41 kB / 426.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2994, allocations: 109.8 kB / 426.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.2994, allocations: 29.69 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.2995, allocations: 88.14 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.2995, allocations: 23.84 kB / 426.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.2995, allocations: 21.7 kB / 426.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2997, allocations: 314.8 kB / 426.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2999, allocations: 39.95 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3, allocations: 35.91 kB / 426.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.3003, allocations: 84.78 kB / 426.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3003, allocations: 0 / 426.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003376/0.3006, allocations: 109.6 kB / 426.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3006, allocations: 8.375 kB / 427 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3007, allocations: 4 kB / 427 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3007, allocations: 7.969 kB / 427 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3008, allocations: 15.98 kB / 427 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3008, allocations: 3.938 kB / 427 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.3009, allocations: 15.92 kB / 427 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3009, allocations: 3.938 kB / 427 MB, free: 9.754 MB / 334.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 (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 9.107e-05/0.301, allocations: 117.8 kB / 427.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.301, allocations: 11.94 kB / 427.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003938/0.3014, allocations: 125.7 kB / 427.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3014, allocations: 4 kB / 427.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3014, allocations: 0 / 427.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3014, allocations: 0 / 427.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3017, allocations: 152.7 kB / 427.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3017, allocations: 0 / 427.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3018, allocations: 31.91 kB / 427.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3018, allocations: 4.375 kB / 427.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3018, allocations: 0 / 427.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3018, allocations: 0 / 427.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3018, allocations: 4 kB / 427.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.3022, allocations: 227.3 kB / 427.7 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.3022, allocations: 7.953 kB / 427.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3022, allocations: 4 kB / 427.7 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3023, allocations: 11.98 kB / 427.7 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3024, allocations: 11.98 kB / 427.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3024, allocations: 4 kB / 427.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.3025, allocations: 91.2 kB / 427.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3025, allocations: 0 / 427.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3027, allocations: 12 kB / 427.8 MB, free: 8.871 MB / 334.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 (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.0007744/0.3035, allocations: 0.7554 MB / 428.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.3038, allocations: 83.91 kB / 428.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3038, allocations: 0 / 428.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.304, allocations: 55.89 kB / 428.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3043, allocations: 12.22 kB / 428.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.3049, allocations: 187.8 kB / 428.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.867e-05/0.3049, allocations: 75.14 kB / 429 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.543e-05/0.305, allocations: 7.984 kB / 429 MB, free: 7.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.305, allocations: 23.44 kB / 429 MB, free: 7.594 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.305, allocations: 0 / 429 MB, free: 7.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3355, allocations: 2.59 MB / 431.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.48, allocations: 7.438 kB / 431.6 MB, free: 5.141 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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: 14.006214444991201]