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.Sample1.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.008483/0.008483, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002426/0.002426, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.479/1.479, allocations: 230.6 MB / 259 MB, free: 8.027 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [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.002042/0.002042, allocations: 59.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 53.37 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003101/0.3651, allocations: 1.612 MB / 434.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3662, allocations: 0.5336 MB / 435.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.3663, allocations: 7.938 kB / 435.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.3663, allocations: 3.938 kB / 435.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3665, allocations: 11.94 kB / 435.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3668, allocations: 67.11 kB / 435.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3669, allocations: 43.86 kB / 435.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.367, allocations: 11.98 kB / 435.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3672, allocations: 27.86 kB / 435.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.3672, allocations: 31.84 kB / 435.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3673, allocations: 7.938 kB / 435.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.3673, allocations: 4 kB / 435.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.3674, allocations: 15.92 kB / 435.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.3674, allocations: 23.81 kB / 435.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3676, allocations: 57 kB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3676, allocations: 4 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3676, allocations: 3.938 kB / 435.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3676, allocations: 0 / 435.6 MB, free: 4.512 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005147/0.3681, allocations: 294.1 kB / 435.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.3682, allocations: 12.03 kB / 435.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.3683, allocations: 20.83 kB / 436 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3686, allocations: 142.3 kB / 436.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3686, allocations: 16.31 kB / 436.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3686, allocations: 384 / 436.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.3689, allocations: 117.3 kB / 436.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.369, allocations: 0 / 436.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.369, allocations: 4 kB / 436.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.369, allocations: 0 / 436.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.3691, allocations: 19.98 kB / 436.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.3694, allocations: 236.8 kB / 436.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3696, allocations: 61.2 kB / 436.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.3697, allocations: 33.7 kB / 436.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3697, allocations: 0 / 436.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3697, allocations: 34.56 kB / 436.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3697, allocations: 0 / 436.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002842/0.37, allocations: 93.64 kB / 436.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3701, allocations: 77.11 kB / 436.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3702, allocations: 136.9 kB / 436.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3702, allocations: 25.7 kB / 436.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3703, allocations: 96.06 kB / 437 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3703, allocations: 7.953 kB / 437 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3703, allocations: 17.66 kB / 437.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3705, allocations: 322.8 kB / 437.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.3705, allocations: 8.031 kB / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.3706, allocations: 43.53 kB / 437.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3707, allocations: 51.3 kB / 437.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3707, allocations: 4 kB / 437.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001422/0.3708, allocations: 73.5 kB / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3708, allocations: 8 kB / 437.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3708, allocations: 0 / 437.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3709, allocations: 0 / 437.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.3709, allocations: 8 kB / 437.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3709, allocations: 8.109 kB / 437.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.371, allocations: 4 kB / 437.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.371, allocations: 4 kB / 437.6 MB, free: 2.332 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 9.66e-05/0.3711, allocations: 117.8 kB / 437.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.3712, allocations: 53.58 kB / 437.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.3712, allocations: 12.34 kB / 437.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3712, allocations: 0 / 437.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3712, allocations: 0 / 437.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3712, allocations: 3.984 kB / 437.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3714, allocations: 148.7 kB / 437.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3714, allocations: 0 / 437.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3715, allocations: 8 kB / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3715, allocations: 0 / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3715, allocations: 7.984 kB / 437.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3715, allocations: 0 / 437.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3715, allocations: 0 / 437.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.3717, allocations: 180.2 kB / 438.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3717, allocations: 7.953 kB / 438.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3717, allocations: 7.984 kB / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.3718, allocations: 4 kB / 438.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3719, allocations: 0 / 438.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3719, allocations: 4 kB / 438.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.3719, allocations: 107.2 kB / 438.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3719, allocations: 0 / 438.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3722, allocations: 4 kB / 438.2 MB, free: 1.594 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001044/0.3723, allocations: 103.2 kB / 438.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.3725, allocations: 35.92 kB / 438.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3725, allocations: 0 / 438.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.3725, allocations: 7.984 kB / 438.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3729, allocations: 27.95 kB / 438.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3733, allocations: 205.6 kB / 438.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3736, allocations: 0.6924 MB / 439.3 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3736, allocations: 7.438 kB / 439.3 MB, free: 464 kB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3736, allocations: 0 / 439.3 MB, free: 464 kB / 334.1 MB Notification: Performance of Templates: time 0.002445/0.3761, allocations: 0.7722 MB / 440.1 MB, free: 15.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.398259985027835]