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.001452/0.001452, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001731/0.001731, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001736/0.001736, allocations: 55.84 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2455, allocations: 53.36 MB / 431 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003417/0.2489, allocations: 1.524 MB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2499, allocations: 0.4908 MB / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.25, allocations: 0 / 433.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2502, allocations: 23.86 kB / 433.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.2502, allocations: 7.938 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.2504, allocations: 39.91 kB / 433.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2505, allocations: 59.83 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2506, allocations: 8 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2508, allocations: 39.78 kB / 433.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.2509, allocations: 31.89 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2509, allocations: 8 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.2509, allocations: 12 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.251, allocations: 11.94 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.251, allocations: 19.92 kB / 433.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2511, allocations: 81.34 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2511, allocations: 0 / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2511, allocations: 0 / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2512, allocations: 0 / 433.4 MB, free: 4.293 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.0006242/0.2518, allocations: 310.1 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2518, allocations: 12.03 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.2518, allocations: 34.69 kB / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.2519, allocations: 8.891 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.252, allocations: 110.5 kB / 433.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.252, allocations: 8.375 kB / 433.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.252, allocations: 4.375 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.2523, allocations: 89.7 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2523, allocations: 0 / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2523, allocations: 0 / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2523, allocations: 4 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.2526, allocations: 87.86 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.2531, allocations: 267.7 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.2533, allocations: 70.53 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2535, allocations: 48.94 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2535, allocations: 0 / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.2536, allocations: 34.56 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2536, allocations: 4.094 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005915/0.2542, allocations: 153.5 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.2542, allocations: 55.41 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2543, allocations: 109.8 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2543, allocations: 25.7 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.2544, allocations: 96.08 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2544, allocations: 15.91 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.2545, allocations: 13.72 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2547, allocations: 322.8 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.2548, allocations: 35.97 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.255, allocations: 35.95 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.2553, allocations: 97.09 kB / 435.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2553, allocations: 0 / 435.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003652/0.2556, allocations: 109.6 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2556, allocations: 4 kB / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2557, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2557, allocations: 0 / 435.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2558, allocations: 23.97 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2558, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.2559, allocations: 19.92 kB / 435.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2559, allocations: 11.88 kB / 435.6 MB, free: 1.922 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 0.0001054/0.256, allocations: 113.8 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.2561, allocations: 4 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.2565, allocations: 137.6 kB / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2565, allocations: 0 / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2565, allocations: 0 / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2565, allocations: 384 / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2567, allocations: 152.7 kB / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2567, allocations: 0 / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2568, allocations: 23.98 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2568, allocations: 3.938 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2568, allocations: 0 / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2568, allocations: 4 kB / 436 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2568, allocations: 3.938 kB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.2572, allocations: 223.3 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.2573, allocations: 4 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2573, allocations: 4 kB / 436.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2574, allocations: 11.98 kB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2574, allocations: 7.984 kB / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.2574, allocations: 4 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.2575, allocations: 95.2 kB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2575, allocations: 0 / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.2577, allocations: 12 kB / 436.4 MB, free: 1.055 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.000729/0.2584, allocations: 0.7553 MB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.2588, allocations: 83.97 kB / 437.2 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2588, allocations: 0 / 437.2 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.259, allocations: 47.91 kB / 437.2 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2593, allocations: 25.75 kB / 437.3 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.2598, allocations: 188.2 kB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.2599, allocations: 75.33 kB / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.2599, allocations: 0 / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.26, allocations: 23.42 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.26, allocations: 0 / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2886, allocations: 2.59 MB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.23, allocations: 3.938 kB / 440.1 MB, free: 13.33 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.791385674849153]