Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.0008153/0.0008153, allocations: 76.5 kB / 19.92 MB, free: 4.637 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.0008691/0.0008691, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.021/1.021, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1855/0.1855, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.669e-06/4.669e-06, allocations: 4 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.604e-05, allocations: 5.938 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004432/0.004468, allocations: 2.022 MB / 408.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.006589, allocations: 1.208 MB / 410.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.006725, allocations: 4 kB / 410.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.272e-05/0.006798, allocations: 23.72 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.006957, allocations: 35.66 kB / 410.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.007706, allocations: 191.1 kB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.00795, allocations: 184 kB / 410.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.008198, allocations: 80.12 kB / 410.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.008419, allocations: 115.6 kB / 410.7 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.008526, allocations: 63.77 kB / 410.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.008562, allocations: 16 kB / 410.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.008865, allocations: 143.7 kB / 410.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.008911, allocations: 47.81 kB / 411 MB, free: 9.348 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.008973, allocations: 59.78 kB / 411 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.00948, allocations: 330.7 kB / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.009486, allocations: 0 / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.009489, allocations: 0 / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.009498, allocations: 0 / 411.4 MB, free: 8.965 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007767/0.01027, allocations: 457.5 kB / 411.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.01035, allocations: 8.031 kB / 411.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.0105, allocations: 95.14 kB / 411.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.01122, allocations: 76.7 kB / 412 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.01139, allocations: 145.4 kB / 412.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.01143, allocations: 21.03 kB / 412.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.01147, allocations: 36.31 kB / 412.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.01193, allocations: 226.7 kB / 412.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01194, allocations: 4.188 kB / 412.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.01197, allocations: 16.12 kB / 412.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01198, allocations: 8 kB / 412.4 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.01228, allocations: 162.5 kB / 412.6 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.01324, allocations: 0.5587 MB / 413.1 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.01372, allocations: 215.3 kB / 413.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.01384, allocations: 65.3 kB / 413.4 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01387, allocations: 4.234 kB / 413.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.0139, allocations: 35.27 kB / 413.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.537e-06/0.0139, allocations: 0 / 413.5 MB, free: 6.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004467/0.01435, allocations: 225.4 kB / 413.7 MB, free: 6.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.01439, allocations: 55.41 kB / 413.7 MB, free: 6.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.01448, allocations: 101.8 kB / 413.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.0145, allocations: 33.7 kB / 413.9 MB, free: 6.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.01459, allocations: 152.5 kB / 414 MB, free: 6.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/0.01467, allocations: 99.17 kB / 414.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01474, allocations: 41.7 kB / 414.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01488, allocations: 326.8 kB / 414.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.01497, allocations: 35.98 kB / 414.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.01506, allocations: 48.22 kB / 414.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.01526, allocations: 122.2 kB / 414.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.01527, allocations: 4 kB / 414.7 MB, free: 5.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000274/0.01554, allocations: 169.5 kB / 414.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.01557, allocations: 6.656 kB / 414.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.01558, allocations: 4 kB / 414.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.0156, allocations: 4 kB / 414.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.01585, allocations: 95.89 kB / 414.9 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01586, allocations: 3.984 kB / 415 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.0159, allocations: 19.83 kB / 415 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.01591, allocations: 4 kB / 415 MB, free: 5.156 MB / 346.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 (27): * Single equations (assignments): 27 * 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.0004661/0.01637, allocations: 129.8 kB / 415.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.01641, allocations: 11.91 kB / 415.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.01646, allocations: 25.31 kB / 415.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01647, allocations: 0 / 415.1 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.01648, allocations: 4 kB / 415.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01649, allocations: 3.984 kB / 415.1 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.01677, allocations: 248.5 kB / 415.4 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01677, allocations: 0 / 415.4 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.01707, allocations: 107.9 kB / 415.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01708, allocations: 0 / 415.5 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01709, allocations: 7.938 kB / 415.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.0171, allocations: 0 / 415.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.0171, allocations: 0 / 415.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.01743, allocations: 275.3 kB / 415.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01744, allocations: 11.89 kB / 415.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.01746, allocations: 7.984 kB / 415.8 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.01751, allocations: 8 kB / 415.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.01755, allocations: 19.97 kB / 415.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01756, allocations: 8 kB / 415.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.0176, allocations: 91.2 kB / 415.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0176, allocations: 3.938 kB / 415.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.01781, allocations: 51.8 kB / 416 MB, free: 4.098 MB / 346.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 (27): * Single equations (assignments): 27 * 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.000651/0.01846, allocations: 0.8768 MB / 416.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.01875, allocations: 119.9 kB / 417 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.01875, allocations: 4 kB / 417 MB, free: 3.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01887, allocations: 75.83 kB / 417 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.01923, allocations: 12 kB / 417.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.02164, allocations: 1.944 MB / 419 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.02179, allocations: 129.7 kB / 419.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.0219, allocations: 21.47 kB / 419.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.02202, allocations: 60.48 kB / 419.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of SimCode: time 1.903e-06/0.02203, allocations: 0 / 419.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.04112, allocations: 3.282 MB / 422.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.826, allocations: 7.656 kB / 422.5 MB, free: 13.43 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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: 9.444261487573385]