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.0008485/0.0008485, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009868/0.0009868, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8989/0.8989, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.193e-06/1.193e-06, allocations: 0 / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.564e-05, allocations: 2.281 kB / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001948/0.001963, allocations: 1.488 MB / 319.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.0026, allocations: 470.6 kB / 320.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.002643, allocations: 8 kB / 320.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.002746, allocations: 11.92 kB / 320.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.002813, allocations: 15.8 kB / 320.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.002983, allocations: 43.84 kB / 320.4 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.003063, allocations: 51.84 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.003162, allocations: 15.97 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.003277, allocations: 35.91 kB / 320.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.00334, allocations: 23.95 kB / 320.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.003361, allocations: 11.94 kB / 320.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.003421, allocations: 27.88 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.003439, allocations: 7.984 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.003463, allocations: 23.92 kB / 320.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.003598, allocations: 67.78 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.0036, allocations: 0 / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003601, allocations: 0 / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.003606, allocations: 4 kB / 320.7 MB, free: 4.082 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.0004733/0.004079, allocations: 309.4 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.004118, allocations: 12.92 kB / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.00415, allocations: 42.73 kB / 321 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.004177, allocations: 8.938 kB / 321 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.004264, allocations: 121.6 kB / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.004284, allocations: 384 / 321.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.004295, allocations: 8.375 kB / 321.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.004472, allocations: 82.2 kB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004479, allocations: 192 / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.004489, allocations: 8.125 kB / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004494, allocations: 0 / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.00466, allocations: 87.84 kB / 321.3 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.005013, allocations: 259.9 kB / 321.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.005177, allocations: 74.56 kB / 321.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.005267, allocations: 40.95 kB / 321.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.005283, allocations: 7.938 kB / 321.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.005305, allocations: 34.56 kB / 321.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.005307, allocations: 0 / 321.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003508/0.005658, allocations: 153.5 kB / 321.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.00569, allocations: 55.41 kB / 322 MB, free: 2.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.005757, allocations: 109.8 kB / 322.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.00577, allocations: 29.7 kB / 322.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.005815, allocations: 100 kB / 322.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.005837, allocations: 11.86 kB / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.005869, allocations: 17.72 kB / 322.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.005966, allocations: 322.8 kB / 322.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.006042, allocations: 31.97 kB / 322.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.006116, allocations: 47.95 kB / 322.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.006271, allocations: 76.78 kB / 322.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006273, allocations: 0 / 322.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.006461, allocations: 109.6 kB / 322.8 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.006476, allocations: 8 kB / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.006483, allocations: 0 / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.006498, allocations: 0 / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.006592, allocations: 24.34 kB / 322.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.006601, allocations: 4 kB / 322.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.006641, allocations: 15.88 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.00665, allocations: 8 kB / 322.9 MB, free: 1.715 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 6.837e-05/0.006718, allocations: 113.8 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.006732, allocations: 8 kB / 323 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.007182, allocations: 133.7 kB / 323.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007185, allocations: 0 / 323.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.007191, allocations: 0 / 323.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.007197, allocations: 3.984 kB / 323.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.007337, allocations: 156.6 kB / 323.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007339, allocations: 0 / 323.3 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.007396, allocations: 27.92 kB / 323.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007399, allocations: 0 / 323.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.007408, allocations: 0 / 323.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.007411, allocations: 3.984 kB / 323.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007413, allocations: 8.312 kB / 323.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.007644, allocations: 211.5 kB / 323.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.007654, allocations: 11.95 kB / 323.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.00767, allocations: 7.984 kB / 323.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.007722, allocations: 15.92 kB / 323.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.007772, allocations: 7.984 kB / 323.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.007777, allocations: 4 kB / 323.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.007819, allocations: 87.28 kB / 323.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007819, allocations: 3.938 kB / 323.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007987, allocations: 8 kB / 323.6 MB, free: 0.8398 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.0004879/0.008475, allocations: 0.7553 MB / 324.4 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.008714, allocations: 87.84 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008716, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.008797, allocations: 51.95 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008998, allocations: 7.938 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.009389, allocations: 190.5 kB / 324.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.009436, allocations: 71.58 kB / 324.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.295e-05/0.009459, allocations: 8 kB / 324.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.009505, allocations: 28.48 kB / 324.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009505, allocations: 3.938 kB / 324.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.02416, allocations: 2.72 MB / 327.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.84, allocations: 7.188 kB / 327.6 MB, free: 12.96 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/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: 8.605186398141086]