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.001702/0.001702, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001909/0.001909, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.512/1.512, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.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 0.001959/0.001959, allocations: 63.89 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.41 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001689/0.2613, allocations: 0.5191 MB / 432.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.2638, allocations: 1.914 MB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.2639, allocations: 0 / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.266, allocations: 149.9 kB / 434.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.691e-05/0.2661, allocations: 27.91 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.2663, allocations: 51.86 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.2664, allocations: 39.91 kB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.2664, allocations: 0 / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.2665, allocations: 43.77 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.2666, allocations: 23.91 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2666, allocations: 0 / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.2667, allocations: 19.98 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.2667, allocations: 39.91 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.2668, allocations: 11.94 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.267, allocations: 54.42 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.267, allocations: 4 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.267, allocations: 0 / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.267, allocations: 0 / 435.3 MB, free: 3.691 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.0004551/0.2675, allocations: 319.8 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2675, allocations: 11.98 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.2676, allocations: 12.88 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2678, allocations: 138.3 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2678, allocations: 384 / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.2678, allocations: 8.312 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.268, allocations: 177.1 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.268, allocations: 4 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.268, allocations: 0 / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.268, allocations: 0 / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.268, allocations: 7.938 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.2683, allocations: 129.3 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.2684, allocations: 18.58 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.2684, allocations: 8.922 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.2684, allocations: 0 / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.2684, allocations: 64.27 kB / 436.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2684, allocations: 0 / 436.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.2686, allocations: 57.52 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.2687, allocations: 154.2 kB / 436.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.2688, allocations: 153.1 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2689, allocations: 29.64 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.2689, allocations: 96.12 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.2689, allocations: 7.953 kB / 436.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.269, allocations: 17.72 kB / 436.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2691, allocations: 322.8 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.2691, allocations: 0 / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2693, allocations: 147.2 kB / 437.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.2693, allocations: 20.86 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2693, allocations: 0 / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.541e-05/0.2694, allocations: 45.69 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2694, allocations: 4 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2694, allocations: 7.938 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2694, allocations: 0 / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.2694, allocations: 0 / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2694, allocations: 7.984 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.2695, allocations: 3.953 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2695, allocations: 4.031 kB / 437.2 MB, free: 1.465 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.0001039/0.2696, allocations: 129.8 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2696, allocations: 4 kB / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.2696, allocations: 15.7 kB / 437.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2696, allocations: 0 / 437.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2697, allocations: 7.938 kB / 437.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2697, allocations: 3.984 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2698, allocations: 121.3 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2698, allocations: 0 / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.2698, allocations: 4 kB / 437.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2699, allocations: 7.938 kB / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2699, allocations: 0 / 437.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2699, allocations: 3.938 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2699, allocations: 0 / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.27, allocations: 73.08 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.27, allocations: 11.97 kB / 437.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.27, allocations: 4 kB / 437.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.2701, allocations: 3.938 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.2701, allocations: 0 / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2701, allocations: 48 / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.2702, allocations: 119.3 kB / 437.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2702, allocations: 4 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.2704, allocations: 19.92 kB / 437.7 MB, free: 0.8828 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.000365/0.2708, allocations: 145.1 kB / 437.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.2708, allocations: 19.92 kB / 437.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2708, allocations: 0 / 437.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.2709, allocations: 4 kB / 437.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.271, allocations: 8 kB / 437.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.2713, allocations: 199.6 kB / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.2714, allocations: 75.33 kB / 438.2 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.2714, allocations: 19.36 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2714, allocations: 128 / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of Templates: time 0.003275/0.2747, allocations: 1.452 MB / 439.6 MB, free: 14.95 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/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: 7.464467306155711]