Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.001217/0.001217, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001304/0.001304, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.393/1.393, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "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.001922/0.001922, allocations: 67.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09398, allocations: 53.32 MB / 428 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002219/0.0962, allocations: 1.2 MB / 429.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.09924, allocations: 2.09 MB / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.09926, allocations: 0 / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.09928, allocations: 3.938 kB / 431.3 MB, free: 1.062 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1004, allocations: 478.5 kB / 431.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.072e-05/0.1004, allocations: 0 / 431.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.1005, allocations: 7.938 kB / 431.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1005, allocations: 8 kB / 431.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.1005, allocations: 7.922 kB / 431.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1008, allocations: 15.98 kB / 431.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1008, allocations: 3.938 kB / 431.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.1016, allocations: 0.5073 MB / 432.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.1016, allocations: 0 / 432.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.1016, allocations: 7.938 kB / 432.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1709/0.2725, allocations: 375.5 kB / 432.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2725, allocations: 0 / 432.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2725, allocations: 1.094 kB / 432.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2725, allocations: 0 / 432.7 MB, free: 8.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003955/0.2729, allocations: 424.2 kB / 433.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.273, allocations: 11.38 kB / 433.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.273, allocations: 84.39 kB / 433.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.2731, allocations: 242.7 kB / 433.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.2731, allocations: 154.7 kB / 433.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2732, allocations: 151.7 kB / 433.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.019e-05/0.2732, allocations: 108.6 kB / 433.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2732, allocations: 77.06 kB / 433.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.2732, allocations: 151.4 kB / 434.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.2733, allocations: 154.2 kB / 434.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.2733, allocations: 158 kB / 434.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.2735, allocations: 446.2 kB / 434.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.2735, allocations: 170 kB / 435 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.2735, allocations: 80.14 kB / 435.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.2735, allocations: 76.91 kB / 435.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.2736, allocations: 50.53 kB / 435.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.2736, allocations: 5 kB / 435.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.2737, allocations: 37.45 kB / 435.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2738, allocations: 57.69 kB / 435.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.837e-05/0.2738, allocations: 99.23 kB / 435.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.2738, allocations: 27.48 kB / 435.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.2738, allocations: 81.89 kB / 435.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.2739, allocations: 6.453 kB / 435.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.2739, allocations: 13.78 kB / 435.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.57e-05/0.2739, allocations: 319.1 kB / 435.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.2739, allocations: 1.375 kB / 435.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.2739, allocations: 0 / 435.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.2739, allocations: 13.48 kB / 435.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2739, allocations: 0 / 435.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.387e-05/0.274, allocations: 37.73 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.274, allocations: 5.594 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.274, allocations: 2.156 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.274, allocations: 3.375 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.274, allocations: 1.359 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.274, allocations: 2.219 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.2741, allocations: 0.5312 kB / 435.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.2741, allocations: 1.625 kB / 435.9 MB, free: 5.664 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.199e-05/0.2741, allocations: 113.7 kB / 436 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.2741, allocations: 5.656 kB / 436 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.2741, allocations: 3.688 kB / 436 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2741, allocations: 1.328 kB / 436 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2741, allocations: 0.8438 kB / 436 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2742, allocations: 0 / 436 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.803e-05/0.2742, allocations: 152.8 kB / 436.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2742, allocations: 6.25 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.2742, allocations: 0.6875 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.2742, allocations: 3.594 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2742, allocations: 0 / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2742, allocations: 1.844 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2742, allocations: 1.188 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.007e-05/0.2743, allocations: 64.25 kB / 436.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.2743, allocations: 85.73 kB / 436.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.2743, allocations: 0.9062 kB / 436.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.2743, allocations: 0.7188 kB / 436.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.2743, allocations: 3.938 kB / 436.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.2743, allocations: 1.094 kB / 436.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.2744, allocations: 82.88 kB / 436.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2744, allocations: 0 / 436.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.2748, allocations: 152.2 kB / 436.6 MB, free: 5.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.001051/0.2758, allocations: 0.5036 MB / 437.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.2759, allocations: 6.75 kB / 437.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2759, allocations: 5.062 kB / 437.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-06/0.2759, allocations: 1.5 kB / 437.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.276, allocations: 6.734 kB / 437.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.2762, allocations: 127.2 kB / 437.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.465e-05/0.2763, allocations: 0.6742 MB / 437.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2763, allocations: 16.16 kB / 437.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2763, allocations: 0 / 437.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of Templates: time 0.005664/0.282, allocations: 3.399 MB / 441.3 MB, free: 3.738 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.553263658890501]