Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.0008246/0.0008246, allocations: 76.06 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.0008935/0.0008935, 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.8865/0.8865, allocations: 173.4 MB / 200.4 MB, free: 9.43 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.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.139e-05, allocations: 5.516 kB / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001646/0.001668, allocations: 0.5087 MB / 318.9 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.003923, allocations: 1.882 MB / 320.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.003971, allocations: 0 / 320.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.00518, allocations: 133.7 kB / 320.9 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.00523, allocations: 31.86 kB / 321 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.005394, allocations: 51.86 kB / 321 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.005481, allocations: 47.83 kB / 321.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.005521, allocations: 4 kB / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.00561, allocations: 43.84 kB / 321.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.005685, allocations: 23.91 kB / 321.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.005702, allocations: 0 / 321.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.728e-05/0.00575, allocations: 15.98 kB / 321.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.005827, allocations: 51.89 kB / 321.2 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.005868, allocations: 23.94 kB / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.006061, allocations: 111.6 kB / 321.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.006064, allocations: 4 kB / 321.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006066, allocations: 0 / 321.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.00607, allocations: 0 / 321.3 MB, free: 3.324 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004584/0.006529, allocations: 427.2 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006569, allocations: 16.91 kB / 321.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.679e-05/0.006596, allocations: 30.75 kB / 321.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.006637, allocations: 16.84 kB / 321.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.006831, allocations: 198.4 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.006839, allocations: 4.375 kB / 322 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.006854, allocations: 384 / 322 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.006981, allocations: 181.3 kB / 322.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.006988, allocations: 4.172 kB / 322.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.006998, allocations: 4.125 kB / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.007002, allocations: 0 / 322.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/0.007016, allocations: 8 kB / 322.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.007285, allocations: 168.8 kB / 322.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.007323, allocations: 22.52 kB / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.007336, allocations: 8.922 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.007346, allocations: 7.984 kB / 322.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.007378, allocations: 64.27 kB / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.007379, allocations: 0 / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.007514, allocations: 53.59 kB / 322.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.007573, allocations: 166.1 kB / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.007738, allocations: 235.8 kB / 322.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.007751, allocations: 29.7 kB / 322.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.007797, allocations: 112.1 kB / 323 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.007815, allocations: 3.953 kB / 323 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.007845, allocations: 17.72 kB / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.007926, allocations: 331 kB / 323.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.007938, allocations: 3.984 kB / 323.4 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.007994, allocations: 151 kB / 323.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.008019, allocations: 16.86 kB / 323.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008021, allocations: 0 / 323.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.029e-05/0.008081, allocations: 53.55 kB / 323.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.008094, allocations: 8 kB / 323.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008099, allocations: 0 / 323.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.008112, allocations: 7.969 kB / 323.6 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.777e-05/0.00814, allocations: 8.078 kB / 323.6 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.008144, allocations: 4 kB / 323.6 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.008208, allocations: 8 kB / 323.6 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.008213, allocations: 0 / 323.6 MB, free: 0.6836 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 (2): * Single equations (assignments): 2 * 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.691e-05/0.00828, allocations: 133.8 kB / 323.8 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.0083, allocations: 15.91 kB / 323.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.008321, allocations: 20.48 kB / 323.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008323, allocations: 3.938 kB / 323.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.008327, allocations: 0 / 323.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.008329, allocations: 0 / 323.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.008467, allocations: 164.7 kB / 324 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008468, allocations: 0 / 324 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.008482, allocations: 4 kB / 324 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008484, allocations: 4 kB / 324 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.008491, allocations: 0 / 324 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008493, allocations: 3.938 kB / 324 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008493, allocations: 0 / 324 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.616e-05/0.00859, allocations: 77.02 kB / 324.1 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.008636, allocations: 39.89 kB / 324.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.008653, allocations: 4 kB / 324.1 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.0087, allocations: 20.03 kB / 324.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.008711, allocations: 0 / 324.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.008713, allocations: 0 / 324.1 MB, free: 140 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.008843, allocations: 185.4 kB / 324.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008843, allocations: 0 / 324.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.008993, allocations: 16 kB / 324.3 MB, free: 15.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0004835/0.009477, allocations: 0.711 MB / 325 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.009548, allocations: 12 kB / 325 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009549, allocations: 0 / 325 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.009556, allocations: 12.05 kB / 325.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.009683, allocations: 15.94 kB / 325.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.01108, allocations: 1.885 MB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01114, allocations: 93.3 kB / 327 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.01119, allocations: 32.64 kB / 327.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.01127, allocations: 68.45 kB / 327.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01127, allocations: 0 / 327.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.03237, allocations: 4.685 MB / 331.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.934, allocations: 3.562 kB / 331.8 MB, free: 8.414 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Utilities_Examples_ReadRealMatrixFromFile.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.619191056117415]