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.001325/0.001325, allocations: 79.39 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001354/0.001354, allocations: 147.6 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.43/1.43, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.375e-06/2.375e-06, allocations: 1.75 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.638e-05, allocations: 2.281 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001474/0.001501, allocations: 0.5124 MB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.003483, allocations: 1.87 MB / 321.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.003522, allocations: 0 / 321.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.006613, allocations: 140.2 kB / 321.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.006681, allocations: 25.09 kB / 321.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.006884, allocations: 50.06 kB / 321.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.007001, allocations: 45.86 kB / 321.5 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.007044, allocations: 10.78 kB / 321.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.007159, allocations: 37.27 kB / 321.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.007257, allocations: 22.91 kB / 321.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.007281, allocations: 1.719 kB / 321.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.007343, allocations: 24.31 kB / 321.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.00744, allocations: 45.28 kB / 321.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.007485, allocations: 12.25 kB / 321.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.0077, allocations: 63.12 kB / 321.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007702, allocations: 0 / 321.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007703, allocations: 0 / 321.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.007716, allocations: 1.219 kB / 321.7 MB, free: 1.723 MB / 286.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.000416/0.008132, allocations: 320.2 kB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.008175, allocations: 10.17 kB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.008219, allocations: 8.531 kB / 322.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.008404, allocations: 135.6 kB / 322.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.008416, allocations: 5.562 kB / 322.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.008438, allocations: 384 / 322.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.008582, allocations: 182.2 kB / 322.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.008592, allocations: 1.312 kB / 322.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.008605, allocations: 1.5 kB / 322.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.008611, allocations: 4.641 kB / 322.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.008629, allocations: 2.812 kB / 322.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.008932, allocations: 126.8 kB / 322.5 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.008984, allocations: 19 kB / 322.5 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.009001, allocations: 7.047 kB / 322.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.009007, allocations: 3.938 kB / 322.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.009032, allocations: 63.23 kB / 322.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.009033, allocations: 4.938 kB / 322.6 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.009173, allocations: 43.05 kB / 322.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.009217, allocations: 161.8 kB / 322.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.009348, allocations: 149.6 kB / 323 MB, free: 476 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.00936, allocations: 26.95 kB / 323 MB, free: 444 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.009397, allocations: 97.48 kB / 323.1 MB, free: 348 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.009414, allocations: 4.984 kB / 323.1 MB, free: 344 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.009449, allocations: 15.94 kB / 323.1 MB, free: 328 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.009497, allocations: 319.1 kB / 323.4 MB, free: 4 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.009511, allocations: 4.531 kB / 323.4 MB, free: 4 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.009626, allocations: 154.3 kB / 323.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.009663, allocations: 15.91 kB / 323.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.009665, allocations: 1.406 kB / 323.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.602e-05/0.009741, allocations: 40.48 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.009755, allocations: 8.25 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.009759, allocations: 3.938 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.009774, allocations: 2.297 kB / 323.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-05/0.009807, allocations: 10.22 kB / 323.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009812, allocations: 8.531 kB / 323.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.00989, allocations: 11.36 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.009896, allocations: 1.031 kB / 323.7 MB, free: 15.75 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.0001236/0.01002, allocations: 128.2 kB / 323.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.01004, allocations: 4.125 kB / 323.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.01007, allocations: 7.297 kB / 323.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01007, allocations: 5.203 kB / 323.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.01008, allocations: 4.641 kB / 323.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01008, allocations: 0 / 323.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.01026, allocations: 122.8 kB / 323.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01026, allocations: 0.5156 kB / 323.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.01029, allocations: 6.031 kB / 324 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01029, allocations: 1.312 kB / 324 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.01029, allocations: 0 / 324 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0103, allocations: 0.75 kB / 324 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0103, allocations: 1.25 kB / 324 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.01045, allocations: 80.23 kB / 324 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.01048, allocations: 10.52 kB / 324 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.0105, allocations: 2.172 kB / 324 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.01056, allocations: 3.141 kB / 324 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.01059, allocations: 4.688 kB / 324.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.01059, allocations: 5.375 kB / 324.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.0107, allocations: 123 kB / 324.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0107, allocations: 0 / 324.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.01092, allocations: 16.19 kB / 324.2 MB, free: 15.31 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.0005179/0.01144, allocations: 183 kB / 324.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.01153, allocations: 11.17 kB / 324.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01153, allocations: 0 / 324.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.01154, allocations: 4.562 kB / 324.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.0117, allocations: 8.781 kB / 324.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.01213, allocations: 255.1 kB / 324.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01225, allocations: 96.25 kB / 324.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.01229, allocations: 12.5 kB / 324.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.01232, allocations: 16.33 kB / 324.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01232, allocations: 3.938 kB / 324.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Templates: time 0.005109/0.01743, allocations: 1.289 MB / 326.1 MB, free: 14.75 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.329143088310957]