Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001468/0.001468, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00151/0.00151, allocations: 166.5 kB / 25.02 MB, free: 8.945 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 1.485/1.485, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 250.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.009e-05, allocations: 6.312 kB / 250.3 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001766/0.001796, allocations: 0.5336 MB / 250.9 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.004766, allocations: 1.921 MB / 252.8 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.004816, allocations: 0 / 252.8 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.006958, allocations: 194.5 kB / 253 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.007045, allocations: 35.89 kB / 253 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.007245, allocations: 43.88 kB / 253 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.007353, allocations: 47.84 kB / 253.1 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.007387, allocations: 7.984 kB / 253.1 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.007496, allocations: 39.78 kB / 253.1 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.891e-05/0.007595, allocations: 15.98 kB / 253.2 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.007614, allocations: 0 / 253.2 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.007684, allocations: 27.91 kB / 253.2 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.007781, allocations: 43.91 kB / 253.2 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.007833, allocations: 15.92 kB / 253.2 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.008045, allocations: 51.81 kB / 253.3 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.008051, allocations: 8 kB / 253.3 MB, free: 4.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.008052, allocations: 0 / 253.3 MB, free: 4.914 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.008056, allocations: 0 / 253.3 MB, free: 4.914 MB / 234.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.0004925/0.008548, allocations: 323.8 kB / 253.6 MB, free: 4.562 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.008585, allocations: 11.98 kB / 253.6 MB, free: 4.551 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.008652, allocations: 8.891 kB / 253.6 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.008879, allocations: 141.7 kB / 253.8 MB, free: 4.379 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.008891, allocations: 8.297 kB / 253.8 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.008919, allocations: 4.375 kB / 253.8 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.009135, allocations: 169.4 kB / 254 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.009143, allocations: 4.188 kB / 254 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.00916, allocations: 4.375 kB / 254 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.009168, allocations: 3.938 kB / 254 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.009187, allocations: 7.938 kB / 254 MB, free: 4.137 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.009494, allocations: 121.3 kB / 254.1 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.009545, allocations: 18.58 kB / 254.1 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.009567, allocations: 8.859 kB / 254.1 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.009578, allocations: 0 / 254.1 MB, free: 3.949 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.009634, allocations: 60.33 kB / 254.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.009635, allocations: 0 / 254.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.009793, allocations: 53.58 kB / 254.2 MB, free: 3.816 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.00991, allocations: 158.2 kB / 254.4 MB, free: 3.625 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.01009, allocations: 156.8 kB / 254.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01012, allocations: 29.7 kB / 254.6 MB, free: 3.43 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.01019, allocations: 92.14 kB / 254.7 MB, free: 3.336 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.01021, allocations: 11.88 kB / 254.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.01025, allocations: 17.72 kB / 254.7 MB, free: 3.301 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.01043, allocations: 318.8 kB / 255 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.01044, allocations: 4 kB / 255 MB, free: 2.977 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.01058, allocations: 143.1 kB / 255.1 MB, free: 2.797 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.01061, allocations: 21.05 kB / 255.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01062, allocations: 3.938 kB / 255.2 MB, free: 2.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.872e-05/0.0107, allocations: 45.66 kB / 255.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01072, allocations: 4 kB / 255.2 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01072, allocations: 0 / 255.2 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.01074, allocations: 3.984 kB / 255.2 MB, free: 2.711 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.01078, allocations: 11.88 kB / 255.2 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01078, allocations: 0 / 255.2 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.01086, allocations: 8 kB / 255.2 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.01087, allocations: 3.984 kB / 255.2 MB, free: 2.688 MB / 234.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 0.0001162/0.01098, allocations: 129.9 kB / 255.4 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.01101, allocations: 7.953 kB / 255.4 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.01103, allocations: 11.77 kB / 255.4 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01104, allocations: 0 / 255.4 MB, free: 2.531 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01104, allocations: 3.938 kB / 255.4 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01104, allocations: 4 kB / 255.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.01123, allocations: 117.3 kB / 255.5 MB, free: 2.379 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01123, allocations: 0 / 255.5 MB, free: 2.379 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.01126, allocations: 7.938 kB / 255.5 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.01127, allocations: 4 kB / 255.5 MB, free: 2.367 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01128, allocations: 4 kB / 255.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01128, allocations: 0 / 255.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01128, allocations: 0 / 255.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.01143, allocations: 77.02 kB / 255.6 MB, free: 2.27 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.01147, allocations: 12.02 kB / 255.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01149, allocations: 0 / 255.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.01155, allocations: 0 / 255.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.01156, allocations: 7.938 kB / 255.6 MB, free: 2.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.01157, allocations: 0 / 255.6 MB, free: 2.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.01168, allocations: 123.2 kB / 255.7 MB, free: 2.129 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01168, allocations: 4.094 kB / 255.7 MB, free: 2.125 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.0119, allocations: 16 kB / 255.8 MB, free: 2.109 MB / 234.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.0005587/0.01246, allocations: 183.2 kB / 255.9 MB, free: 1.934 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 8.323e-05/0.01254, allocations: 11.94 kB / 255.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01254, allocations: 0 / 255.9 MB, free: 1.922 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.01256, allocations: 11.98 kB / 256 MB, free: 1.91 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.01273, allocations: 11.95 kB / 256 MB, free: 1.898 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.01332, allocations: 311.1 kB / 256.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.01342, allocations: 100.7 kB / 256.4 MB, free: 1.453 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.107e-05/0.01346, allocations: 16.11 kB / 256.4 MB, free: 1.438 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.01351, allocations: 16.48 kB / 256.4 MB, free: 1.418 MB / 234.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01351, allocations: 0 / 256.4 MB, free: 1.418 MB / 234.7 MB Notification: Performance of Templates: time 0.004719/0.01823, allocations: 1.276 MB / 257.7 MB, free: 148 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.3708838319871575]