Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001578/0.001578, allocations: 120 kB / 18.5 MB, free: 4.52 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.001659/0.001659, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Utilities.Examples.readRealParameterModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.88 kB / 373.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1148, allocations: 53.31 MB / 427.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002441/0.1172, allocations: 1.206 MB / 428.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.1209, allocations: 2.093 MB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.1209, allocations: 4 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.121, allocations: 3.938 kB / 430.4 MB, free: 1.215 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001199/0.1222, allocations: 469.5 kB / 430.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.154e-05/0.1222, allocations: 0 / 430.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.1222, allocations: 19.91 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1223, allocations: 4 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.1223, allocations: 7.938 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1226, allocations: 7.938 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1226, allocations: 0 / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.1234, allocations: 0.5073 MB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1234, allocations: 7.984 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.1234, allocations: 11.92 kB / 431.4 MB, free: 196 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.124, allocations: 375.2 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.124, allocations: 0 / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.124, allocations: 0 / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.124, allocations: 3.938 kB / 431.8 MB, free: 15.82 MB / 366.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.000549/0.1246, allocations: 426.5 kB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1246, allocations: 8.031 kB / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.1247, allocations: 84.17 kB / 432.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1249, allocations: 251.6 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.125, allocations: 150.9 kB / 432.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.125, allocations: 158.9 kB / 432.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/0.1251, allocations: 105.3 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.1251, allocations: 75.28 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.1252, allocations: 150.6 kB / 433.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.1253, allocations: 154.6 kB / 433.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.1253, allocations: 158.5 kB / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.1256, allocations: 449.9 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.1257, allocations: 165.1 kB / 434.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.1258, allocations: 88.14 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1258, allocations: 75.28 kB / 434.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.126, allocations: 51.28 kB / 434.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.126, allocations: 0 / 434.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.1261, allocations: 33.7 kB / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.1261, allocations: 51.53 kB / 434.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.1262, allocations: 105.8 kB / 434.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1262, allocations: 29.7 kB / 434.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.1263, allocations: 84.14 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.1263, allocations: 3.953 kB / 434.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1263, allocations: 9.719 kB / 434.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1265, allocations: 322.8 kB / 434.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.1265, allocations: 0 / 434.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.1265, allocations: 0 / 434.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.1265, allocations: 12.92 kB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1265, allocations: 0 / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.501e-05/0.1266, allocations: 37.64 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1266, allocations: 4 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1266, allocations: 4 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1266, allocations: 0 / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.219e-05/0.1266, allocations: 7.922 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1266, allocations: 0 / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.1266, allocations: 3.969 kB / 435 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1267, allocations: 4 kB / 435 MB, free: 12.39 MB / 366.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 8.341e-05/0.1267, allocations: 109.8 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.1267, allocations: 3.938 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.1268, allocations: 3.125 kB / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1268, allocations: 0 / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1268, allocations: 0 / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1268, allocations: 4 kB / 435.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1269, allocations: 149.7 kB / 435.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1269, allocations: 0 / 435.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.1269, allocations: 7.938 kB / 435.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1269, allocations: 4 kB / 435.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1269, allocations: 7.938 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1269, allocations: 0 / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1269, allocations: 3.984 kB / 435.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.333e-05/0.127, allocations: 53.14 kB / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.1271, allocations: 85.05 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1271, allocations: 4.031 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.1271, allocations: 3.938 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1271, allocations: 3.984 kB / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1271, allocations: 0 / 435.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.1271, allocations: 79.28 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1271, allocations: 0 / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1276, allocations: 155.5 kB / 435.7 MB, free: 11.62 MB / 366.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.001195/0.1288, allocations: 0.4988 MB / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.1288, allocations: 4 kB / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1288, allocations: 0 / 436.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-06/0.1288, allocations: 8.062 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.129, allocations: 3.984 kB / 436.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.1293, allocations: 102.5 kB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1295, allocations: 0.6768 MB / 437 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.1296, allocations: 7.984 kB / 437 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1296, allocations: 15.44 kB / 437 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1296, allocations: 4.062 kB / 437 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.007253/0.1368, allocations: 3.137 MB / 440.1 MB, free: 7.164 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.600274400785565]