Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009188/0.0009188, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.006238/0.006238, allocations: 161.3 kB / 24.69 MB, free: 9.422 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 0.8875/0.8875, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.246e-05, allocations: 2.281 kB / 298.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00199/0.002012, allocations: 1.492 MB / 299.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.002718, allocations: 0.5002 MB / 300.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.002764, allocations: 0 / 300.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.002872, allocations: 19.86 kB / 300.4 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.002938, allocations: 11.86 kB / 300.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.003117, allocations: 43.84 kB / 300.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003218, allocations: 63.77 kB / 300.5 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003318, allocations: 11.98 kB / 300.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.003442, allocations: 35.92 kB / 300.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.003495, allocations: 23.95 kB / 300.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.003514, allocations: 4 kB / 300.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.457e-05/0.003569, allocations: 19.94 kB / 300.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.003589, allocations: 15.92 kB / 300.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.003612, allocations: 15.92 kB / 300.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.00376, allocations: 71.78 kB / 300.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003764, allocations: 4 kB / 300.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.003765, allocations: 0 / 300.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.003771, allocations: 0 / 300.7 MB, free: 1.199 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.0004872/0.004258, allocations: 318.1 kB / 301 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.004301, allocations: 11.98 kB / 301 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.004336, allocations: 42.67 kB / 301.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.004364, allocations: 8.891 kB / 301.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.148e-05/0.004445, allocations: 113.7 kB / 301.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.004462, allocations: 4.375 kB / 301.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.004473, allocations: 8.375 kB / 301.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.004665, allocations: 86.14 kB / 301.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.004674, allocations: 192 / 301.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.004686, allocations: 4.125 kB / 301.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004691, allocations: 0 / 301.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.004854, allocations: 83.91 kB / 301.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.00523, allocations: 267.8 kB / 301.7 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.005408, allocations: 74.53 kB / 301.7 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.005488, allocations: 40.95 kB / 301.8 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.005505, allocations: 0 / 301.8 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1298/0.1353, allocations: 31.47 kB / 301.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 3.938e-06/0.1353, allocations: 0 / 301.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005033/0.1358, allocations: 149 kB / 301.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1359, allocations: 56.28 kB / 302 MB, free: 15.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.1359, allocations: 112.5 kB / 302.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.1359, allocations: 25.7 kB / 302.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.136, allocations: 95.72 kB / 302.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.136, allocations: 20.84 kB / 302.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.136, allocations: 20.38 kB / 302.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.1361, allocations: 316.5 kB / 302.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.376e-05/0.1362, allocations: 40.14 kB / 302.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.1362, allocations: 36.94 kB / 302.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1364, allocations: 82.23 kB / 302.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1364, allocations: 3.844 kB / 302.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.1366, allocations: 119 kB / 302.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1366, allocations: 5.531 kB / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1366, allocations: 0 / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1366, allocations: 1.359 kB / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1367, allocations: 19.81 kB / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1367, allocations: 5.281 kB / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.1368, allocations: 11.39 kB / 302.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1368, allocations: 1.219 kB / 302.9 MB, free: 15.22 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 5.024e-05/0.1368, allocations: 114.1 kB / 303 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.1368, allocations: 11.06 kB / 303 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.1371, allocations: 132.3 kB / 303.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1371, allocations: 1.719 kB / 303.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1371, allocations: 1.219 kB / 303.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1371, allocations: 0.5156 kB / 303.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1372, allocations: 151.9 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1372, allocations: 3.938 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.1373, allocations: 22.55 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1373, allocations: 0 / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1373, allocations: 3.75 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1373, allocations: 5.75 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1373, allocations: 3.875 kB / 303.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.1375, allocations: 214.8 kB / 303.5 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.1375, allocations: 15.84 kB / 303.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1375, allocations: 1.312 kB / 303.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.1376, allocations: 15.8 kB / 303.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1376, allocations: 8.797 kB / 303.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1376, allocations: 4.875 kB / 303.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.566e-05/0.1377, allocations: 91.22 kB / 303.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1377, allocations: 2.625 kB / 303.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.1378, allocations: 8.938 kB / 303.7 MB, free: 14.69 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.0003336/0.1382, allocations: 0.7587 MB / 304.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1384, allocations: 84.98 kB / 304.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1384, allocations: 0 / 304.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.1385, allocations: 46.53 kB / 304.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1387, allocations: 11.84 kB / 304.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1391, allocations: 190.4 kB / 304.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.459e-05/0.1391, allocations: 71.84 kB / 304.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.1392, allocations: 7.875 kB / 304.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.1392, allocations: 21.03 kB / 304.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1392, allocations: 0 / 304.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1584, allocations: 2.72 MB / 307.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.221, allocations: 9.078 kB / 307.6 MB, free: 12.62 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.906395083293319]