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.0009421/0.0009421, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009303/0.0009303, allocations: 143.1 kB / 24.89 MB, free: 8.785 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.9797/0.9797, allocations: 173.4 MB / 201.5 MB, free: 8.734 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: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 268.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.057e-05, allocations: 2.312 kB / 268.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001311/0.001341, allocations: 0.5398 MB / 269 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003198, allocations: 1.943 MB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.00325, allocations: 4 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.005197, allocations: 206.5 kB / 271.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.005247, allocations: 35.83 kB / 271.2 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.005389, allocations: 43.89 kB / 271.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.005468, allocations: 47.83 kB / 271.2 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.005508, allocations: 7.938 kB / 271.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.006493, allocations: 312.2 kB / 271.6 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.00658, allocations: 15.92 kB / 271.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.0066, allocations: 0 / 271.6 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.156e-05/0.006652, allocations: 12 kB / 271.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.00672, allocations: 39.91 kB / 271.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.006749, allocations: 15.92 kB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.006941, allocations: 63.69 kB / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006943, allocations: 0 / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006944, allocations: 0 / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006949, allocations: 0 / 271.7 MB, free: 2.957 MB / 250.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.0003236/0.007272, allocations: 330 kB / 272 MB, free: 2.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.007307, allocations: 12.92 kB / 272 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.007336, allocations: 4.938 kB / 272 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.007487, allocations: 158.3 kB / 272.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.007494, allocations: 4.375 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.007514, allocations: 4.375 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.409e-05/0.007598, allocations: 68.52 kB / 272.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.007603, allocations: 4.125 kB / 272.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.00761, allocations: 384 / 272.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.007615, allocations: 3.938 kB / 272.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-06/0.007624, allocations: 6.828 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.007834, allocations: 74.69 kB / 272.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.00787, allocations: 18.61 kB / 272.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-06/0.00788, allocations: 4.859 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.007887, allocations: 7.938 kB / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.007923, allocations: 64.33 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.007923, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 9.791e-05/0.008021, allocations: 41.62 kB / 272.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.008063, allocations: 77.11 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.008151, allocations: 163.4 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.008161, allocations: 25.7 kB / 272.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.008197, allocations: 100.1 kB / 272.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.008216, allocations: 7.938 kB / 272.9 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.008238, allocations: 13.84 kB / 272.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.008317, allocations: 330.8 kB / 273.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.008324, allocations: 2.828 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.00835, allocations: 39.42 kB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.008371, allocations: 19.61 kB / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008373, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.25e-05/0.008415, allocations: 44.53 kB / 273.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008428, allocations: 7.984 kB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008432, allocations: 0 / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.008443, allocations: 128 / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.008466, allocations: 8 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.008469, allocations: 0 / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.008487, allocations: 3.938 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.008491, allocations: 0 / 273.3 MB, free: 1.133 MB / 250.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 5.317e-05/0.008544, allocations: 120.7 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.008552, allocations: 7.984 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.008572, allocations: 12.44 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.008574, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008575, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008577, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.603e-05/0.008674, allocations: 93.8 kB / 273.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.008674, allocations: 0 / 273.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.008688, allocations: 8 kB / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.008689, allocations: 0 / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.008697, allocations: 0 / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.008697, allocations: 0 / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008698, allocations: 0 / 273.6 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.508e-05/0.008773, allocations: 78.64 kB / 273.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.008793, allocations: 11.91 kB / 273.6 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.008804, allocations: 7.984 kB / 273.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.008816, allocations: 4.062 kB / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-06/0.008825, allocations: 0 / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.008826, allocations: 0 / 273.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.436e-05/0.00886, allocations: 58.64 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00886, allocations: 0 / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001147/0.008975, allocations: 11.94 kB / 273.7 MB, free: 0.6758 MB / 250.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.0003391/0.009314, allocations: 177.8 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.009376, allocations: 8.859 kB / 273.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.009381, allocations: 0 / 273.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.009387, allocations: 12.92 kB / 273.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.066e-05/0.009458, allocations: 15.06 kB / 273.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.009756, allocations: 223.4 kB / 274.2 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.009799, allocations: 67.33 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.009829, allocations: 12.48 kB / 274.2 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.009913, allocations: 71.28 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009913, allocations: 4 kB / 274.3 MB, free: 88 kB / 250.7 MB Notification: Performance of Templates: time 0.003038/0.01295, allocations: 1.013 MB / 275.3 MB, free: 15.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7318729371763766]