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.001277/0.001277, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001341/0.001341, allocations: 181.9 kB / 23.72 MB, free: 4.699 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.362/1.362, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.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 0.001986/0.001986, allocations: 43.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.25, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001599/0.2516, allocations: 0.5392 MB / 423.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2539, allocations: 1.913 MB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.254, allocations: 0 / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.2558, allocations: 122.7 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.2559, allocations: 31.91 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.256, allocations: 47.88 kB / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.2561, allocations: 47.84 kB / 425.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.2562, allocations: 7.984 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.2562, allocations: 27.91 kB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2564, allocations: 31.84 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2564, allocations: 4 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.2564, allocations: 15.98 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.2565, allocations: 51.84 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2566, allocations: 39.72 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2568, allocations: 111.9 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2568, allocations: 0 / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2568, allocations: 0 / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2568, allocations: 4 kB / 425.6 MB, free: 11.61 MB / 334.1 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.0006263/0.2575, allocations: 419.2 kB / 426 MB, free: 11.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2575, allocations: 12.03 kB / 426 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.2575, allocations: 30.75 kB / 426 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.2576, allocations: 16.84 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2579, allocations: 183.2 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-06/0.2579, allocations: 384 / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2579, allocations: 4.312 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2581, allocations: 82.05 kB / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2581, allocations: 0 / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2581, allocations: 0 / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2581, allocations: 0 / 426.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.2581, allocations: 7.938 kB / 426.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.2585, allocations: 172.7 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.498e-05/0.2585, allocations: 22.58 kB / 426.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.2585, allocations: 8.922 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.2585, allocations: 3.984 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.2586, allocations: 60.2 kB / 426.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2586, allocations: 0 / 426.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.2588, allocations: 53.55 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2589, allocations: 166.3 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.2591, allocations: 223.8 kB / 427 MB, free: 9.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2591, allocations: 29.7 kB / 427 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.2592, allocations: 116.1 kB / 427.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2592, allocations: 3.953 kB / 427.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.2593, allocations: 17.72 kB / 427.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2594, allocations: 326.8 kB / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.2594, allocations: 3.984 kB / 427.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.2595, allocations: 52.23 kB / 427.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.2595, allocations: 16.84 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2595, allocations: 0 / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.823e-05/0.2596, allocations: 61.48 kB / 427.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2596, allocations: 4 kB / 427.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2597, allocations: 0 / 427.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2597, allocations: 144 / 427.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.021e-05/0.2597, allocations: 15.97 kB / 427.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2597, allocations: 0 / 427.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-05/0.2598, allocations: 8 kB / 427.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2598, allocations: 0 / 427.7 MB, free: 9.27 MB / 334.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 (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 0.0001893/0.26, allocations: 129.8 kB / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.26, allocations: 15.89 kB / 427.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.2601, allocations: 16.48 kB / 427.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2601, allocations: 0 / 427.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2601, allocations: 0 / 427.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2601, allocations: 8 kB / 427.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.2603, allocations: 164.7 kB / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2603, allocations: 0 / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.2603, allocations: 3.938 kB / 428 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2603, allocations: 0 / 428 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.2603, allocations: 0 / 428 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2603, allocations: 3.938 kB / 428 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.2603, allocations: 15.91 kB / 428 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2605, allocations: 81.03 kB / 428.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.2605, allocations: 39.84 kB / 428.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2606, allocations: 0 / 428.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.2607, allocations: 8 kB / 428.1 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.2607, allocations: 3.984 kB / 428.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2607, allocations: 0 / 428.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.2609, allocations: 181.4 kB / 428.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2609, allocations: 0 / 428.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.2611, allocations: 15.94 kB / 428.3 MB, free: 8.527 MB / 334.1 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.0007505/0.2618, allocations: 0.7024 MB / 429 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.2619, allocations: 19.98 kB / 429.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2619, allocations: 0 / 429.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.2619, allocations: 0 / 429.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.2621, allocations: 16.12 kB / 429.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2641, allocations: 1.818 MB / 430.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.2645, allocations: 0.7084 MB / 431.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.2646, allocations: 28.64 kB / 431.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2647, allocations: 63.39 kB / 431.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2647, allocations: 0 / 431.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.303, allocations: 4.007 MB / 435.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.89, allocations: 8.719 kB / 435.7 MB, free: 1.152 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 13.245799293974414]