Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 372.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1108, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002883/0.1137, allocations: 1.527 MB / 427.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.1146, allocations: 0.5375 MB / 428.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1147, allocations: 4 kB / 428.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.1148, allocations: 15.86 kB / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.1149, allocations: 15.86 kB / 428.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.115, allocations: 43.84 kB / 428.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.1151, allocations: 47.91 kB / 428.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1152, allocations: 12 kB / 428.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1154, allocations: 55.77 kB / 428.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.1155, allocations: 23.91 kB / 428.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1155, allocations: 8 kB / 428.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.534e-05/0.1155, allocations: 12 kB / 428.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.1156, allocations: 11.94 kB / 428.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1156, allocations: 27.86 kB / 428.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1158, allocations: 75.66 kB / 428.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1158, allocations: 0 / 428.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1158, allocations: 0 / 428.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1158, allocations: 0 / 428.7 MB, free: 2.23 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.0006545/0.1164, allocations: 387.2 kB / 429.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1165, allocations: 8.031 kB / 429.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.1165, allocations: 42.73 kB / 429.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1166, allocations: 8.891 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1167, allocations: 164.4 kB / 429.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1167, allocations: 8.375 kB / 429.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1167, allocations: 8.312 kB / 429.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.117, allocations: 89.77 kB / 429.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.117, allocations: 0 / 429.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.117, allocations: 0 / 429.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.117, allocations: 0 / 429.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1173, allocations: 79.91 kB / 429.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1178, allocations: 316.6 kB / 429.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.118, allocations: 70.53 kB / 429.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1182, allocations: 40.94 kB / 429.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1182, allocations: 4 kB / 429.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1183, allocations: 38.59 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1183, allocations: 0 / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005924/0.1189, allocations: 153.7 kB / 430.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.1189, allocations: 55.34 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.119, allocations: 113.8 kB / 430.3 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.119, allocations: 29.7 kB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.1191, allocations: 96.09 kB / 430.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1191, allocations: 15.83 kB / 430.4 MB, free: 336 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1191, allocations: 17.72 kB / 430.4 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1193, allocations: 322.8 kB / 430.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1194, allocations: 40.02 kB / 430.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1196, allocations: 43.91 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1199, allocations: 76.78 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1199, allocations: 0 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003549/0.1203, allocations: 121.6 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1203, allocations: 4 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1203, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1203, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1204, allocations: 19.97 kB / 431 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1204, allocations: 4 kB / 431.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.1205, allocations: 7.984 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1205, allocations: 15.92 kB / 431.1 MB, free: 15.64 MB / 366.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.188e-05/0.1206, allocations: 113.8 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1206, allocations: 4 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.1211, allocations: 129.6 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1211, allocations: 0 / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1211, allocations: 3.984 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1211, allocations: 4 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1213, allocations: 189.5 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1213, allocations: 0 / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1214, allocations: 19.98 kB / 431.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1214, allocations: 7.922 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1214, allocations: 4 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1214, allocations: 192 / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1214, allocations: 0 / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.1218, allocations: 219.8 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1219, allocations: 85.05 kB / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1219, allocations: 7.938 kB / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.122, allocations: 11.98 kB / 431.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1221, allocations: 11.92 kB / 431.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.1221, allocations: 4 kB / 431.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.1221, allocations: 91.22 kB / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1221, allocations: 0 / 432 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1224, allocations: 19.94 kB / 432 MB, free: 14.63 MB / 366.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.000763/0.1231, allocations: 0.7514 MB / 432.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.1235, allocations: 83.91 kB / 432.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1235, allocations: 0 / 432.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1237, allocations: 56.12 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1239, allocations: 4.156 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.1245, allocations: 199.6 kB / 433.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1248, allocations: 0.6885 MB / 433.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.1248, allocations: 4 kB / 433.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.1248, allocations: 23.42 kB / 433.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1248, allocations: 0 / 433.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1498, allocations: 2.02 MB / 435.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/7.912, allocations: 11.98 kB / 435.8 MB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 10.709080895991065]