Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001298/0.001298, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001816/0.001816, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.475/1.475, allocations: 230.4 MB / 255.4 MB, free: 15 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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [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.001983/0.001983, allocations: 67.89 kB / 374.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 53.31 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003177/0.109, allocations: 1.706 MB / 429.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.1095, allocations: 171.4 kB / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1096, allocations: 0 / 429.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.438e-05/0.1096, allocations: 7.875 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1097, allocations: 15.92 kB / 430 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.11, allocations: 43.83 kB / 430 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1101, allocations: 55.84 kB / 430.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1103, allocations: 23.98 kB / 430.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.1103, allocations: 23.86 kB / 430.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1104, allocations: 27.8 kB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1104, allocations: 4 kB / 430.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.1104, allocations: 8 kB / 430.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1104, allocations: 15.92 kB / 430.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.1105, allocations: 39.73 kB / 430.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1106, allocations: 71.59 kB / 430.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1106, allocations: 0 / 430.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1106, allocations: 0 / 430.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1106, allocations: 4 kB / 430.3 MB, free: 2.125 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005412/0.1112, allocations: 387 kB / 430.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1112, allocations: 16.02 kB / 430.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1113, allocations: 8.891 kB / 430.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1115, allocations: 196.2 kB / 430.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1115, allocations: 8.359 kB / 430.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.1115, allocations: 8.375 kB / 430.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.1119, allocations: 162.3 kB / 431 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1119, allocations: 192 / 431 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1119, allocations: 3.938 kB / 431 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1119, allocations: 4 kB / 431 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.112, allocations: 43.91 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1125, allocations: 361.9 kB / 431.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1127, allocations: 115.7 kB / 431.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1128, allocations: 62.67 kB / 431.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1129, allocations: 4 kB / 431.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1129, allocations: 30.56 kB / 431.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1129, allocations: 4 kB / 431.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003447/0.1132, allocations: 125.6 kB / 431.8 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.1133, allocations: 110.8 kB / 431.9 MB, free: 272 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1135, allocations: 135.9 kB / 432 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1135, allocations: 25.7 kB / 432 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1896/0.303, allocations: 96.19 kB / 432.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3031, allocations: 5.969 kB / 432.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3031, allocations: 29.27 kB / 432.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.3032, allocations: 316.5 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.3033, allocations: 15.86 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.3033, allocations: 73.11 kB / 432.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3035, allocations: 96.92 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3035, allocations: 1.406 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.3037, allocations: 106.7 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3037, allocations: 6.25 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3037, allocations: 2.062 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3037, allocations: 2.734 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.3038, allocations: 23.56 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3038, allocations: 7.188 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.3039, allocations: 12.16 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.3039, allocations: 3.625 kB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.043e-05/0.304, allocations: 128.4 kB / 432.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3041, allocations: 73.31 kB / 433 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.3041, allocations: 16.33 kB / 433 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3041, allocations: 6.062 kB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3041, allocations: 4.969 kB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3042, allocations: 1.031 kB / 433 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3044, allocations: 180.2 kB / 433.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3044, allocations: 1.906 kB / 433.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.711e-05/0.3045, allocations: 26.77 kB / 433.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3045, allocations: 2.062 kB / 433.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3045, allocations: 2.25 kB / 433.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3045, allocations: 4.531 kB / 433.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3045, allocations: 2.438 kB / 433.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.3048, allocations: 314.4 kB / 433.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.3048, allocations: 104.4 kB / 433.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3048, allocations: 1.844 kB / 433.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.3049, allocations: 6.281 kB / 433.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.305, allocations: 1.469 kB / 433.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.305, allocations: 5.156 kB / 433.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.305, allocations: 110.5 kB / 433.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.305, allocations: 0 / 433.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3053, allocations: 16.56 kB / 433.8 MB, free: 9.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (10): * Single equations (assignments): 10 * 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 9.085e-05/0.3054, allocations: 98.5 kB / 433.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3056, allocations: 67.75 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3056, allocations: 2.906 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.3056, allocations: 10.27 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3061, allocations: 47.97 kB / 434 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3064, allocations: 221 kB / 434.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3065, allocations: 0.7036 MB / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.3066, allocations: 12.47 kB / 435 MB, free: 9.02 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3066, allocations: 0 / 435 MB, free: 9.02 MB / 350.1 MB Notification: Performance of Templates: time 0.002237/0.3088, allocations: 0.9213 MB / 435.9 MB, free: 8.977 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 6.716010129079223]