Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001328/0.001328, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001471/0.001471, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.957e-05, allocations: 8.922 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00245/0.002479, allocations: 1.603 MB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000439/0.002918, allocations: 147.4 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.002999, allocations: 0 / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.003052, allocations: 3.938 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.00319, allocations: 19.86 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003407, allocations: 35.84 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.003505, allocations: 31.86 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.003594, allocations: 15.97 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.003641, allocations: 15.98 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.003682, allocations: 15.92 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.0037, allocations: 7.938 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.003709, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.003755, allocations: 11.94 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.003785, allocations: 7.984 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.003887, allocations: 35.83 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.00389, allocations: 4 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003892, allocations: 0 / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003896, allocations: 0 / 274.9 MB, free: 15.47 MB / 266.7 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.0003542/0.00425, allocations: 396.3 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.004292, allocations: 11.98 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.004335, allocations: 16.89 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004506, allocations: 132.5 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004516, allocations: 8.375 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.004528, allocations: 8.359 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.004789, allocations: 125.5 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004797, allocations: 192 / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.004807, allocations: 4.375 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.004814, allocations: 384 / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.004844, allocations: 23.86 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.005116, allocations: 263.5 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.005267, allocations: 66.12 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.005302, allocations: 27.42 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.005318, allocations: 4 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.005344, allocations: 33.39 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.005345, allocations: 0 / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001446/0.00549, allocations: 69.52 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.005529, allocations: 77.11 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.005663, allocations: 191.2 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005673, allocations: 25.7 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.005727, allocations: 130.9 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.005746, allocations: 11.94 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.005774, allocations: 15.38 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.005911, allocations: 0.4884 MB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.005922, allocations: 0 / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.005928, allocations: 0 / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/0.005951, allocations: 19.81 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005952, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.278e-05/0.005995, allocations: 33.69 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.006011, allocations: 10.81 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006016, allocations: 3.938 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.006031, allocations: 3.938 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.00608, allocations: 0 / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006085, allocations: 0 / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.2e-05/0.006097, allocations: 4 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.006101, allocations: 32 / 277 MB, free: 13.05 MB / 266.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 (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 6.099e-05/0.006162, allocations: 160.6 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.006205, allocations: 53.58 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.006233, allocations: 12.28 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006234, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006237, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006241, allocations: 3.984 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.635e-05/0.006337, allocations: 128.6 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.006339, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.006367, allocations: 8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006369, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.006379, allocations: 8.234 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.006382, allocations: 3.938 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006384, allocations: 0 / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.006489, allocations: 215.5 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.006515, allocations: 15.94 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.006525, allocations: 0 / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.006553, allocations: 7.938 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.006586, allocations: 3.984 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.006591, allocations: 4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.006642, allocations: 140 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006642, allocations: 4 kB / 277.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.006778, allocations: 4 kB / 277.8 MB, free: 12.21 MB / 266.7 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 8.273e-05/0.00686, allocations: 95.25 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.979e-05/0.00694, allocations: 19.61 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006941, allocations: 0 / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.006952, allocations: 11.69 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.007195, allocations: 21.67 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.007466, allocations: 168.9 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.007505, allocations: 63.28 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.007521, allocations: 4 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.007546, allocations: 8.5 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.007547, allocations: 3.938 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002401/0.009948, allocations: 0.542 MB / 278.7 MB, free: 11.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.696528000757098]