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.001216/0.001216, allocations: 72.55 kB / 19.92 MB, free: 4.621 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.001321/0.001321, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.874/0.874, allocations: 158.6 MB / 185 MB, free: 3.035 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.1327/0.1327, allocations: 32.37 MB / 269.6 MB, free: 14.95 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 2.745e-06/2.745e-06, allocations: 0 / 406.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.381e-05, allocations: 6.078 kB / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002385/0.002408, allocations: 2.025 MB / 408.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003845, allocations: 1.204 MB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.677e-05/0.003942, allocations: 4 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.003994, allocations: 27.66 kB / 410.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.004102, allocations: 35.66 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.004529, allocations: 187.1 kB / 410.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.004792, allocations: 184 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.004947, allocations: 72.16 kB / 410.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.005082, allocations: 123.6 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.005156, allocations: 59.78 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.005178, allocations: 16 kB / 410.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.005381, allocations: 143.8 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.005411, allocations: 47.81 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.005455, allocations: 59.78 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.005742, allocations: 330.7 kB / 411.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005744, allocations: 0 / 411.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005745, allocations: 0 / 411.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005749, allocations: 4 kB / 411.4 MB, free: 13.68 MB / 394.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.0004394/0.006189, allocations: 457.5 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.006233, allocations: 12.02 kB / 411.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.444e-05/0.006317, allocations: 99.11 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/0.006735, allocations: 64.75 kB / 412 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.018e-05/0.006825, allocations: 141.4 kB / 412.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006844, allocations: 24.97 kB / 412.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.006868, allocations: 36.38 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.007114, allocations: 230.7 kB / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.007124, allocations: 192 / 412.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.007141, allocations: 16.12 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.007148, allocations: 8 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.007326, allocations: 158.5 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.007913, allocations: 0.5665 MB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.008227, allocations: 224.4 kB / 413.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.008303, allocations: 61.3 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.008322, allocations: 4.234 kB / 413.4 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.008349, allocations: 39.25 kB / 413.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.192e-06/0.00835, allocations: 4 kB / 413.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002865/0.008636, allocations: 209.6 kB / 413.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.008666, allocations: 59.34 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.008718, allocations: 101.8 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.008732, allocations: 33.7 kB / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.008927, allocations: 156.5 kB / 414 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.008975, allocations: 87.19 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.009017, allocations: 41.7 kB / 414.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.009096, allocations: 326.8 kB / 414.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.009153, allocations: 52.16 kB / 414.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.009203, allocations: 39.98 kB / 414.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.009336, allocations: 130.2 kB / 414.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009338, allocations: 0 / 414.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001651/0.009503, allocations: 161.6 kB / 414.8 MB, free: 10.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.009514, allocations: 7.938 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.009519, allocations: 4 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00953, allocations: 0 / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.009718, allocations: 99.94 kB / 414.9 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.009725, allocations: 0 / 414.9 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.009758, allocations: 19.83 kB / 415 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.009766, allocations: 4 kB / 415 MB, free: 9.879 MB / 394.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 7.608e-05/0.009842, allocations: 133.7 kB / 415.1 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.009861, allocations: 15.91 kB / 415.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.009889, allocations: 21.31 kB / 415.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009892, allocations: 8 kB / 415.1 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.009896, allocations: 0 / 415.1 MB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0099, allocations: 3.984 kB / 415.1 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.01008, allocations: 248.5 kB / 415.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01008, allocations: 0 / 415.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.01025, allocations: 103.9 kB / 415.5 MB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01025, allocations: 3.938 kB / 415.5 MB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01026, allocations: 8 kB / 415.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01026, allocations: 0 / 415.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01026, allocations: 0 / 415.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.01045, allocations: 271.4 kB / 415.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.01046, allocations: 15.84 kB / 415.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.01047, allocations: 7.938 kB / 415.8 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.01051, allocations: 8 kB / 415.8 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.01054, allocations: 19.95 kB / 415.8 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01055, allocations: 8 kB / 415.8 MB, free: 8.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.804e-05/0.01058, allocations: 91.2 kB / 415.9 MB, free: 8.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 4 kB / 415.9 MB, free: 8.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.01075, allocations: 47.84 kB / 416 MB, free: 8.809 MB / 394.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.0004551/0.01121, allocations: 0.8808 MB / 416.8 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.01139, allocations: 119.9 kB / 417 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01139, allocations: 3.938 kB / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.01146, allocations: 71.89 kB / 417 MB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.01161, allocations: 19.92 kB / 417.1 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.01293, allocations: 1.955 MB / 419 MB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.01301, allocations: 133.7 kB / 419.1 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.159e-05/0.01307, allocations: 21.47 kB / 419.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.01314, allocations: 60.48 kB / 419.2 MB, free: 5.414 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01314, allocations: 0 / 419.2 MB, free: 5.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.02739, allocations: 3.298 MB / 422.5 MB, free: 2.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.181, allocations: 8 kB / 422.5 MB, free: 2.098 MB / 394.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.352577101439238]