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.001321/0.001321, allocations: 123 kB / 17.79 MB, free: 5.266 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.001414/0.001414, allocations: 189.2 kB / 20.73 MB, free: 2.328 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.5/1.5, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.002019/0.002019, allocations: 47.92 kB / 365.6 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1347, allocations: 52.14 MB / 417.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002874/0.1376, allocations: 1.524 MB / 419.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.1385, allocations: 0.4909 MB / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.1386, allocations: 0 / 419.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.1387, allocations: 31.8 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.1388, allocations: 11.86 kB / 419.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.139, allocations: 35.91 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1391, allocations: 55.91 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.1391, allocations: 8 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1393, allocations: 35.83 kB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.1393, allocations: 27.86 kB / 420 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1393, allocations: 12 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.1394, allocations: 19.98 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1394, allocations: 7.938 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.1395, allocations: 31.86 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1396, allocations: 71.66 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1396, allocations: 0 / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1396, allocations: 0 / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1397, allocations: 0 / 420.1 MB, free: 10.3 MB / 350.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.0006994/0.1404, allocations: 387.2 kB / 420.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1404, allocations: 8.031 kB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.278e-05/0.1404, allocations: 34.75 kB / 420.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1405, allocations: 16.88 kB / 420.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1406, allocations: 168.3 kB / 420.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1407, allocations: 4.375 kB / 420.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1407, allocations: 8.312 kB / 420.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.141, allocations: 89.7 kB / 420.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.141, allocations: 8 kB / 420.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.141, allocations: 4 kB / 420.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.141, allocations: 0 / 420.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.1414, allocations: 79.91 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1418, allocations: 308.6 kB / 421.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.1421, allocations: 70.53 kB / 421.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1423, allocations: 44.95 kB / 421.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1423, allocations: 3.984 kB / 421.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1423, allocations: 34.59 kB / 421.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1423, allocations: 4 kB / 421.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000605/0.1429, allocations: 141.6 kB / 421.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.143, allocations: 55.39 kB / 421.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.1431, allocations: 117.8 kB / 421.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1431, allocations: 29.7 kB / 421.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.1431, allocations: 88.14 kB / 421.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1432, allocations: 19.8 kB / 421.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1432, allocations: 21.7 kB / 421.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1434, allocations: 318.8 kB / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.1435, allocations: 35.95 kB / 422.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1437, allocations: 51.84 kB / 422.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.144, allocations: 76.78 kB / 422.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.144, allocations: 0 / 422.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003689/0.1444, allocations: 113.6 kB / 422.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1444, allocations: 7.984 kB / 422.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1444, allocations: 0 / 422.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1444, allocations: 0 / 422.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1446, allocations: 15.98 kB / 422.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1446, allocations: 0 / 422.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.1446, allocations: 15.98 kB / 422.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1447, allocations: 8.75 kB / 422.4 MB, free: 7.73 MB / 350.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 8.786e-05/0.1448, allocations: 117.8 kB / 422.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1448, allocations: 7.953 kB / 422.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.1452, allocations: 129.6 kB / 422.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1452, allocations: 3.938 kB / 422.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1452, allocations: 0 / 422.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1452, allocations: 7.984 kB / 422.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1454, allocations: 193.6 kB / 422.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1454, allocations: 0 / 422.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.1456, allocations: 19.98 kB / 422.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1456, allocations: 7.922 kB / 422.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1456, allocations: 0 / 422.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1456, allocations: 3.984 kB / 422.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1456, allocations: 0 / 422.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.146, allocations: 223.4 kB / 423.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1461, allocations: 81.06 kB / 423.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1461, allocations: 3.984 kB / 423.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1462, allocations: 11.98 kB / 423.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.1463, allocations: 8 kB / 423.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1463, allocations: 0 / 423.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.1463, allocations: 95.2 kB / 423.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1463, allocations: 4 kB / 423.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1466, allocations: 11.94 kB / 423.3 MB, free: 6.715 MB / 350.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.0007928/0.1474, allocations: 0.767 MB / 424.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.1478, allocations: 84.14 kB / 424.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1478, allocations: 0 / 424.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1479, allocations: 55.83 kB / 424.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1483, allocations: 11.98 kB / 424.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1488, allocations: 191.6 kB / 424.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1491, allocations: 0.6922 MB / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.1492, allocations: 0 / 425.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.1492, allocations: 27.42 kB / 425.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1492, allocations: 288 / 425.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1752, allocations: 2.031 MB / 427.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.826, allocations: 12.62 kB / 427.2 MB, free: 2.852 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.405974932014942]