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.001437/0.001437, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001456/0.001456, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001514/0.001514, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 53.37 MB / 431 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00289/0.2786, allocations: 1.508 MB / 432.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.2795, allocations: 0.4947 MB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.2796, allocations: 0 / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2797, allocations: 19.88 kB / 433.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.2798, allocations: 11.92 kB / 433.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2799, allocations: 39.91 kB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.28, allocations: 55.84 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.2801, allocations: 15.92 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.2803, allocations: 35.84 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.2804, allocations: 31.91 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2804, allocations: 8 kB / 433.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.2804, allocations: 12 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2805, allocations: 15.92 kB / 433.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2805, allocations: 27.88 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.2807, allocations: 73.41 kB / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2807, allocations: 0 / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2807, allocations: 0 / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2807, allocations: 7.875 kB / 433.4 MB, free: 4.262 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.0006371/0.2813, allocations: 306.1 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2813, allocations: 12.03 kB / 433.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.2814, allocations: 38.73 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2814, allocations: 8.891 kB / 433.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.744e-05/0.2815, allocations: 114.5 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2815, allocations: 384 / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2815, allocations: 4.375 kB / 433.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.2818, allocations: 89.7 kB / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2818, allocations: 0 / 434 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2818, allocations: 8 kB / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2818, allocations: 0 / 434 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.2822, allocations: 83.91 kB / 434 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.2826, allocations: 267.8 kB / 434.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2829, allocations: 70.53 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.283, allocations: 40.95 kB / 434.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.283, allocations: 0 / 434.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.2831, allocations: 46.56 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.2831, allocations: 0 / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005733/0.2836, allocations: 153.6 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.2837, allocations: 51.41 kB / 434.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.2838, allocations: 109.8 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2838, allocations: 26.08 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.2839, allocations: 100.1 kB / 434.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2839, allocations: 11.91 kB / 434.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.2839, allocations: 21.7 kB / 434.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2841, allocations: 318.7 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2842, allocations: 39.95 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2844, allocations: 35.97 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.2847, allocations: 88.72 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2847, allocations: 0 / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003603/0.285, allocations: 113.6 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2851, allocations: 4 kB / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2851, allocations: 0 / 435.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2851, allocations: 7.938 kB / 435.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2852, allocations: 19.97 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2852, allocations: 4 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.2853, allocations: 11.92 kB / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2853, allocations: 7.938 kB / 435.6 MB, free: 1.898 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.153e-05/0.2854, allocations: 109.8 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.2854, allocations: 7.984 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.2858, allocations: 137.6 kB / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2858, allocations: 0 / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2858, allocations: 0 / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2858, allocations: 0 / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.286, allocations: 156.7 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.286, allocations: 448 / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2862, allocations: 23.97 kB / 436 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2862, allocations: 0 / 436 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2862, allocations: 8 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2862, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2862, allocations: 4 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.2866, allocations: 223.4 kB / 436.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.2866, allocations: 7.984 kB / 436.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2866, allocations: 3.984 kB / 436.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2867, allocations: 11.98 kB / 436.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.2868, allocations: 11.98 kB / 436.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2868, allocations: 4 kB / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.2868, allocations: 95.2 kB / 436.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2868, allocations: 288 / 436.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.287, allocations: 8 kB / 436.4 MB, free: 1.023 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.0007187/0.2878, allocations: 0.7591 MB / 437.1 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.2881, allocations: 79.92 kB / 437.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2881, allocations: 0 / 437.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2883, allocations: 51.89 kB / 437.3 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.2886, allocations: 18.52 kB / 437.3 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.2892, allocations: 195.4 kB / 437.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.2893, allocations: 67.34 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.042e-05/0.2893, allocations: 3.984 kB / 437.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.2893, allocations: 23.38 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2893, allocations: 0 / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.3182, allocations: 2.625 MB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.1, allocations: 5.766 kB / 440.2 MB, free: 13.26 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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: 13.614009254990378]