Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000771/0.000771, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009845/0.0009845, allocations: 162.5 kB / 25.45 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9299/0.9299, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.203e-05, allocations: 2.281 kB / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001006/0.001028, allocations: 0.5255 MB / 300.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.002684, allocations: 1.909 MB / 302.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.931e-05/0.002724, allocations: 0 / 302.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.003814, allocations: 142.3 kB / 302.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.00386, allocations: 19.97 kB / 302.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.004016, allocations: 51.81 kB / 302.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.004112, allocations: 47.84 kB / 302.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.00415, allocations: 3.984 kB / 302.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.295e-05/0.004233, allocations: 35.91 kB / 302.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.004317, allocations: 23.91 kB / 302.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.004336, allocations: 0 / 302.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.328e-05/0.00439, allocations: 15.98 kB / 302.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.004477, allocations: 55.78 kB / 302.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.004514, allocations: 11.92 kB / 302.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.004706, allocations: 63.8 kB / 302.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004708, allocations: 0 / 302.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004709, allocations: 0 / 302.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.004714, allocations: 3.938 kB / 302.6 MB, free: 4.039 MB / 282.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.0003891/0.005103, allocations: 323.7 kB / 302.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.005148, allocations: 15.98 kB / 302.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.005193, allocations: 4.891 kB / 302.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.005365, allocations: 137.7 kB / 303 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.005373, allocations: 4.312 kB / 303 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005392, allocations: 384 / 303 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.005544, allocations: 185.3 kB / 303.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.005552, allocations: 4.172 kB / 303.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005562, allocations: 384 / 303.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005568, allocations: 3.938 kB / 303.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.005585, allocations: 4 kB / 303.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.005844, allocations: 129.3 kB / 303.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.48e-05/0.005879, allocations: 14.58 kB / 303.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.005892, allocations: 8.922 kB / 303.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.005901, allocations: 0 / 303.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.005933, allocations: 64.2 kB / 303.4 MB, free: 2.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.005933, allocations: 8 kB / 303.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.006058, allocations: 37.69 kB / 303.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.006121, allocations: 162.2 kB / 303.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.006225, allocations: 152.8 kB / 303.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.006236, allocations: 25.7 kB / 303.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.006273, allocations: 96.12 kB / 303.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.006291, allocations: 7.953 kB / 303.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.006317, allocations: 17.72 kB / 303.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.006395, allocations: 318.8 kB / 304.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.006406, allocations: 4 kB / 304.3 MB, free: 2.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.006467, allocations: 155.2 kB / 304.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.006492, allocations: 12.86 kB / 304.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006494, allocations: 0 / 304.4 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.558e-05/0.006539, allocations: 45.66 kB / 304.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.00655, allocations: 7.984 kB / 304.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006553, allocations: 0 / 304.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006566, allocations: 4 kB / 304.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.006589, allocations: 3.938 kB / 304.5 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006593, allocations: 0 / 304.5 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.006634, allocations: 4.094 kB / 304.5 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.00664, allocations: 11.94 kB / 304.5 MB, free: 1.82 MB / 282.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 6.494e-05/0.006705, allocations: 133.8 kB / 304.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.006715, allocations: 7.953 kB / 304.6 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.006732, allocations: 11.77 kB / 304.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006734, allocations: 3.938 kB / 304.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.006739, allocations: 3.938 kB / 304.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.006742, allocations: 0 / 304.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.006846, allocations: 125.3 kB / 304.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006847, allocations: 0 / 304.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.006861, allocations: 4 kB / 304.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006862, allocations: 0 / 304.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.006872, allocations: 0 / 304.8 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006873, allocations: 4 kB / 304.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006874, allocations: 0 / 304.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.006963, allocations: 73.02 kB / 304.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.006986, allocations: 15.95 kB / 304.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.006998, allocations: 0 / 304.9 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.538e-05/0.007024, allocations: 4 kB / 304.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.007037, allocations: 7.875 kB / 304.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.007038, allocations: 96 / 304.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.007093, allocations: 123.2 kB / 305 MB, free: 1.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007093, allocations: 0 / 305 MB, free: 1.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.007228, allocations: 15.98 kB / 305 MB, free: 1.242 MB / 282.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.0002584/0.007486, allocations: 171.4 kB / 305.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.783e-05/0.007554, allocations: 11.98 kB / 305.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007557, allocations: 4 kB / 305.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.007562, allocations: 0 / 305.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.00767, allocations: 8 kB / 305.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.00803, allocations: 254.9 kB / 305.5 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.008078, allocations: 79.7 kB / 305.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.008106, allocations: 20.48 kB / 305.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of SimCode: time 3.8e-07/0.008106, allocations: 0 / 305.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of Templates: time 0.002407/0.01051, allocations: 1.737 MB / 307.3 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.304137832485139]