Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009353, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9287/0.9287, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.595e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001268/0.001294, allocations: 0.5339 MB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.003205, allocations: 1.977 MB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.003258, allocations: 0 / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.005232, allocations: 255.2 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.005276, allocations: 23.97 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.005436, allocations: 51.8 kB / 275.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.00552, allocations: 43.84 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.00556, allocations: 8 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.005643, allocations: 35.89 kB / 275.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.005708, allocations: 19.92 kB / 275.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.005724, allocations: 0 / 275.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.00577, allocations: 15.98 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.005842, allocations: 43.89 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.005877, allocations: 8 kB / 276 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.006081, allocations: 47.77 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.006086, allocations: 8 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006087, allocations: 0 / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006091, allocations: 0 / 276 MB, free: 14.8 MB / 266.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.0003486/0.00644, allocations: 426 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006474, allocations: 11.98 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.00652, allocations: 8.891 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.00666, allocations: 140.5 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.006668, allocations: 384 / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.00669, allocations: 8.375 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.00682, allocations: 175.5 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.006826, allocations: 192 / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.006836, allocations: 4.375 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.006844, allocations: 7.922 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.006855, allocations: 4 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.007091, allocations: 132.7 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.00713, allocations: 27.06 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.007144, allocations: 11.69 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.007151, allocations: 4 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.007188, allocations: 71.02 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.007189, allocations: 0 / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.007302, allocations: 41.66 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.007361, allocations: 158.2 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.007466, allocations: 205.3 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.007476, allocations: 25.7 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.007523, allocations: 142.9 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.007541, allocations: 3.953 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.007571, allocations: 27.36 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.007673, allocations: 496.1 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.007683, allocations: 4 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.007744, allocations: 157.2 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.007767, allocations: 11.69 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007769, allocations: 64 / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.996e-05/0.007819, allocations: 45.7 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007832, allocations: 8 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.007835, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007848, allocations: 3.984 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/0.007874, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.007882, allocations: 11.94 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.007924, allocations: 7.891 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.007928, allocations: 0 / 278.3 MB, free: 12.14 MB / 266.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.957e-05/0.007987, allocations: 156.6 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.007997, allocations: 12.03 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.00802, allocations: 11.8 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008022, allocations: 0 / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008025, allocations: 3.938 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008029, allocations: 4.031 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.00814, allocations: 132.6 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.008141, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.008155, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008157, allocations: 4 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.00817, allocations: 3.984 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008171, allocations: 3.938 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008172, allocations: 4 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.008258, allocations: 80.28 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.008281, allocations: 15.94 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.008294, allocations: 4 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.373e-05/0.008318, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.00833, allocations: 0 / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.008333, allocations: 3.938 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.008385, allocations: 147.2 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008385, allocations: 0 / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.008519, allocations: 15.94 kB / 278.9 MB, free: 11.48 MB / 266.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.0002541/0.008774, allocations: 141 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.008846, allocations: 15.67 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008847, allocations: 64 / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.008857, allocations: 15.69 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.008963, allocations: 8 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.009248, allocations: 237.8 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.009283, allocations: 75.27 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.009318, allocations: 11.98 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.009351, allocations: 20.48 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.009351, allocations: 0 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.00288/0.01223, allocations: 1.086 MB / 280.5 MB, free: 9.859 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8517485230695456]