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.001374/0.001374, allocations: 89.3 kB / 20.68 MB, free: 1.02 MB / 14.72 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.00239/0.00239, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.523/1.523, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 3.176e-06/3.176e-06, allocations: 1.938 kB / 325 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.564e-05, allocations: 6.219 kB / 325 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001505/0.00153, allocations: 0.5161 MB / 325.5 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.004338, allocations: 1.916 MB / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.004391, allocations: 1.156 kB / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.01483, allocations: 165.5 kB / 327.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.01491, allocations: 24.98 kB / 327.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.01515, allocations: 60.25 kB / 327.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.01528, allocations: 44.62 kB / 327.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.01533, allocations: 3.281 kB / 327.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.01545, allocations: 37.88 kB / 327.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.01555, allocations: 16.06 kB / 327.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.01557, allocations: 0.8438 kB / 327.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.01565, allocations: 14 kB / 327.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.01576, allocations: 52.89 kB / 327.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.0158, allocations: 9.953 kB / 327.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.01604, allocations: 49.28 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01605, allocations: 5.406 kB / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01605, allocations: 0 / 327.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01605, allocations: 0 / 327.9 MB, free: 14.45 MB / 302.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.0005582/0.01661, allocations: 325.2 kB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.01666, allocations: 13.55 kB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.0167, allocations: 8.109 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.01692, allocations: 139.2 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.01693, allocations: 6.812 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.01696, allocations: 1.844 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.01718, allocations: 169.4 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.01719, allocations: 192 / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.01721, allocations: 5.438 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01722, allocations: 3.938 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.01724, allocations: 6.844 kB / 328.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.01754, allocations: 118.8 kB / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.586e-05/0.0176, allocations: 19.31 kB / 328.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.01762, allocations: 11.05 kB / 328.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.01763, allocations: 5.766 kB / 328.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.01768, allocations: 58.45 kB / 328.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.01768, allocations: 0 / 328.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.01784, allocations: 48.98 kB / 328.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.01795, allocations: 158.9 kB / 329 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01812, allocations: 151.9 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01815, allocations: 29.7 kB / 329.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.01822, allocations: 92.98 kB / 329.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.01824, allocations: 5 kB / 329.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.01828, allocations: 18.23 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01844, allocations: 319.8 kB / 329.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.01845, allocations: 11.16 kB / 329.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01858, allocations: 142.1 kB / 329.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.01862, allocations: 20.03 kB / 329.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01862, allocations: 1 kB / 329.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.726e-05/0.01871, allocations: 43.92 kB / 329.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01872, allocations: 5.406 kB / 329.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01873, allocations: 1.766 kB / 329.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01875, allocations: 0 / 329.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.01878, allocations: 8.359 kB / 329.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01879, allocations: 3.938 kB / 329.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.01886, allocations: 6.797 kB / 329.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.01886, allocations: 1.031 kB / 329.8 MB, free: 12.49 MB / 302.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.0001077/0.01897, allocations: 125 kB / 329.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.01899, allocations: 8.672 kB / 329.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.01903, allocations: 19.08 kB / 330 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01903, allocations: 1.641 kB / 330 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.01903, allocations: 5.125 kB / 330 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01904, allocations: 0 / 330 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01921, allocations: 126 kB / 330.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01922, allocations: 0.6562 kB / 330.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.01925, allocations: 6 kB / 330.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01925, allocations: 0.6094 kB / 330.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.01926, allocations: 5.156 kB / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01926, allocations: 0 / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01926, allocations: 1.953 kB / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.0194, allocations: 76.33 kB / 330.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.01944, allocations: 10.11 kB / 330.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01946, allocations: 2.375 kB / 330.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.01952, allocations: 6.75 kB / 330.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.01953, allocations: 2.438 kB / 330.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.01954, allocations: 3.938 kB / 330.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.01965, allocations: 122.1 kB / 330.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01965, allocations: 0 / 330.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.01987, allocations: 13.59 kB / 330.3 MB, free: 12.04 MB / 302.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.000398/0.02027, allocations: 157.4 kB / 330.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.02036, allocations: 14.34 kB / 330.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02036, allocations: 0 / 330.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.02037, allocations: 3.797 kB / 330.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.02053, allocations: 14.14 kB / 330.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.02092, allocations: 238 kB / 330.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.952e-05/0.02102, allocations: 103.4 kB / 330.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.02106, allocations: 14.33 kB / 330.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.0211, allocations: 16.36 kB / 330.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.0211, allocations: 0 / 330.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.004554/0.02565, allocations: 1.078 MB / 332 MB, free: 11.42 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.276054214686155]