Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.4 MB / 251.1 MB, free: 8.469 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.83 kB / 368.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2363, allocations: 53.31 MB / 422.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001505/0.2378, allocations: 0.5275 MB / 422.8 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.2402, allocations: 1.893 MB / 424.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.2402, allocations: 0 / 424.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.2513, allocations: 172.7 kB / 424.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.2513, allocations: 23.97 kB / 424.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2515, allocations: 43.88 kB / 424.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.2516, allocations: 39.89 kB / 424.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.2516, allocations: 8 kB / 424.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.2517, allocations: 35.84 kB / 425 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.2518, allocations: 19.86 kB / 425 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2518, allocations: 4 kB / 425 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.799e-05/0.2519, allocations: 15.98 kB / 425 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.2519, allocations: 43.95 kB / 425.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.252, allocations: 19.81 kB / 425.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2522, allocations: 43.34 kB / 425.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2522, allocations: 4 kB / 425.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2522, allocations: 0 / 425.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2522, allocations: 7.938 kB / 425.1 MB, free: 4.871 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.0004463/0.2527, allocations: 396.9 kB / 425.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.2527, allocations: 8.031 kB / 425.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.2527, allocations: 16.83 kB / 425.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2529, allocations: 200.2 kB / 425.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.2529, allocations: 384 / 425.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.253, allocations: 384 / 425.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2531, allocations: 82.28 kB / 425.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2531, allocations: 3.938 kB / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2531, allocations: 0 / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2531, allocations: 0 / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.2531, allocations: 4 kB / 425.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2535, allocations: 173.7 kB / 426 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.2535, allocations: 18.58 kB / 426 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.2535, allocations: 12.86 kB / 426 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.2535, allocations: 0 / 426 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.2536, allocations: 60.2 kB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2536, allocations: 0 / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.2537, allocations: 53.58 kB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.2538, allocations: 158.2 kB / 426.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.254, allocations: 154.3 kB / 426.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.254, allocations: 25.7 kB / 426.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.254, allocations: 92.14 kB / 426.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.2541, allocations: 3.984 kB / 426.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.2541, allocations: 21.67 kB / 426.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2542, allocations: 322.8 kB / 426.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.2543, allocations: 4 kB / 426.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.2543, allocations: 40.3 kB / 426.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.2543, allocations: 20.78 kB / 427 MB, free: 2.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2543, allocations: 0 / 427 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.842e-05/0.2544, allocations: 41.7 kB / 427 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2544, allocations: 15.88 kB / 427 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2544, allocations: 0 / 427 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2544, allocations: 0 / 427 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.2545, allocations: 7.984 kB / 427 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2545, allocations: 4.094 kB / 427 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.2545, allocations: 0 / 427 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.2545, allocations: 0 / 427 MB, free: 2.676 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.0001018/0.2546, allocations: 125.8 kB / 427.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2547, allocations: 11.89 kB / 427.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.2547, allocations: 15.83 kB / 427.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-06/0.2547, allocations: 3.938 kB / 427.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2547, allocations: 0 / 427.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.2547, allocations: 0 / 427.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2549, allocations: 177.7 kB / 427.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2549, allocations: 0 / 427.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.2549, allocations: 0 / 427.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2549, allocations: 7.938 kB / 427.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2549, allocations: 0 / 427.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.2549, allocations: 7.984 kB / 427.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2549, allocations: 0 / 427.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.255, allocations: 73.08 kB / 427.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.2551, allocations: 97.11 kB / 427.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2551, allocations: 0 / 427.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.272e-05/0.2552, allocations: 4 kB / 427.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.2552, allocations: 0 / 427.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2552, allocations: 3.938 kB / 427.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.2553, allocations: 126 kB / 427.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2553, allocations: 3.938 kB / 427.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.2555, allocations: 11.94 kB / 427.7 MB, free: 1.918 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.0003483/0.2558, allocations: 139 kB / 427.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.627e-05/0.2559, allocations: 15.98 kB / 427.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2559, allocations: 3.938 kB / 427.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.2559, allocations: 8.062 kB / 427.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2561, allocations: 15.31 kB / 427.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.2565, allocations: 241.7 kB / 428.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2568, allocations: 0.708 MB / 428.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.687e-05/0.2568, allocations: 8 kB / 428.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.2569, allocations: 15.42 kB / 428.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2569, allocations: 0 / 428.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of Templates: time 0.003957/0.2608, allocations: 1.032 MB / 429.9 MB, free: 15.72 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches