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.0009833/0.0009833, allocations: 79.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.001492/0.001492, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9695/0.9695, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] 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 1.783e-06/1.783e-06, allocations: 0 / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.887e-05, allocations: 2.312 kB / 268 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.00142/0.001448, allocations: 0.5258 MB / 268.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.003276, allocations: 1.939 MB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.003337, allocations: 0 / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.005842, allocations: 199.5 kB / 270.6 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.005914, allocations: 31.91 kB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.006115, allocations: 47.88 kB / 270.7 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.006211, allocations: 47.83 kB / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.006248, allocations: 0 / 270.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.007646, allocations: 313.4 kB / 271.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.007732, allocations: 19.91 kB / 271.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.007753, allocations: 0 / 271.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.007811, allocations: 19.98 kB / 271.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.007883, allocations: 27.92 kB / 271.1 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.007921, allocations: 11.92 kB / 271.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.008154, allocations: 71.62 kB / 271.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.008158, allocations: 3.984 kB / 271.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008159, allocations: 4 kB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.008164, allocations: 0 / 271.2 MB, free: 3.402 MB / 250.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.0003953/0.008559, allocations: 457.7 kB / 271.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008596, allocations: 12.92 kB / 271.7 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.008646, allocations: 12.84 kB / 271.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.00883, allocations: 161.2 kB / 271.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.008841, allocations: 384 / 271.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.008864, allocations: 4.375 kB / 271.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.008975, allocations: 71.34 kB / 271.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.008982, allocations: 192 / 271.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.008992, allocations: 8.375 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.009001, allocations: 7.922 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.025e-05/0.009012, allocations: 3.938 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.009287, allocations: 152.6 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.009327, allocations: 27.06 kB / 272.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.009343, allocations: 11.69 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.00935, allocations: 0 / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.009389, allocations: 63.16 kB / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.00939, allocations: 0 / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.009522, allocations: 45.7 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.009561, allocations: 85.05 kB / 272.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.009696, allocations: 242.7 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.009707, allocations: 25.7 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.009763, allocations: 154.9 kB / 272.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.009783, allocations: 7.953 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.009812, allocations: 19.38 kB / 272.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.009927, allocations: 0.5001 MB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.009939, allocations: 0 / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.009969, allocations: 45.08 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.009997, allocations: 23.72 kB / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009999, allocations: 0 / 273.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.529e-05/0.01005, allocations: 49.58 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.01007, allocations: 8 kB / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.01007, allocations: 0 / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01009, allocations: 0 / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.06e-05/0.01012, allocations: 4 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.01012, allocations: 3.938 kB / 273.4 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.01015, allocations: 3.953 kB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01016, allocations: 0 / 273.4 MB, free: 0.9727 MB / 250.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.639e-05/0.01022, allocations: 164.6 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.01024, allocations: 15.94 kB / 273.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.01026, allocations: 12.48 kB / 273.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01027, allocations: 0 / 273.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.01027, allocations: 3.938 kB / 273.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01027, allocations: 0 / 273.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.0104, allocations: 152.6 kB / 273.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.0104, allocations: 0 / 273.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.01042, allocations: 11.92 kB / 273.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01042, allocations: 0 / 273.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01043, allocations: 4 kB / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01044, allocations: 0 / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01044, allocations: 0 / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.864e-05/0.01054, allocations: 88.3 kB / 273.8 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.01056, allocations: 11.94 kB / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.01057, allocations: 0 / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.01058, allocations: 0 / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.0106, allocations: 0 / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.0106, allocations: 7.938 kB / 273.8 MB, free: 452 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.01067, allocations: 173 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01067, allocations: 64 / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.01081, allocations: 12 kB / 274 MB, free: 268 kB / 250.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.0003203/0.01113, allocations: 186.2 kB / 274.2 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.01121, allocations: 19.67 kB / 274.2 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01121, allocations: 4 kB / 274.2 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.01122, allocations: 11.62 kB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.01134, allocations: 8 kB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.01163, allocations: 219.3 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.01167, allocations: 67.33 kB / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.0117, allocations: 16.61 kB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.01172, allocations: 12.5 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01172, allocations: 0 / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002954/0.01468, allocations: 0.9988 MB / 275.6 MB, free: 14.72 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6596185681410134]