Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009523/0.0009523, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.000971/0.000971, allocations: 156.5 kB / 24.56 MB, free: 8 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 0.9889/0.9889, 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.796e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002546/0.002564, allocations: 1.753 MB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000418/0.002982, allocations: 167.3 kB / 274.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.003069, allocations: 4 kB / 274.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.279e-05/0.003122, allocations: 11.86 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.003271, allocations: 7.875 kB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.003489, allocations: 47.83 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003599, allocations: 59.83 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003716, allocations: 19.98 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.003769, allocations: 27.91 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.003817, allocations: 23.91 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.00384, allocations: 7.938 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003852, allocations: 4 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.003908, allocations: 15.92 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.003938, allocations: 23.92 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.004046, allocations: 47.75 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004048, allocations: 0 / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004049, allocations: 4 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004053, allocations: 4 kB / 275.1 MB, free: 15.19 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003755/0.004428, allocations: 412.2 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.004465, allocations: 11.98 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.004506, allocations: 16.89 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004664, allocations: 148.4 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.004673, allocations: 4.375 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004685, allocations: 8.375 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.00495, allocations: 171.9 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.004957, allocations: 192 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004965, allocations: 4.375 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004972, allocations: 384 / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.005012, allocations: 27.91 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.005323, allocations: 414.2 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.005519, allocations: 121.3 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.00558, allocations: 51.17 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.0056, allocations: 4 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.005621, allocations: 41.27 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.005622, allocations: 4 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002084/0.00583, allocations: 97.5 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.005885, allocations: 110.8 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.005979, allocations: 189.8 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.00599, allocations: 29.7 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.006046, allocations: 147.1 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.006062, allocations: 3.953 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.006092, allocations: 27.33 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.006214, allocations: 492.1 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.006224, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.006243, allocations: 23.36 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.006273, allocations: 23.38 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006274, allocations: 0 / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.8e-05/0.006322, allocations: 45.7 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.006336, allocations: 11.06 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006341, allocations: 0 / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006354, allocations: 4 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.136e-05/0.006385, allocations: 7.984 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.00639, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.006403, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.006407, allocations: 0 / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.126e-05/0.006468, allocations: 164.5 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.006536, allocations: 74.09 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.00657, allocations: 16.78 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006574, allocations: 4 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.006579, allocations: 3.984 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006584, allocations: 0 / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.006716, allocations: 136.5 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006718, allocations: 4 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.006762, allocations: 23.98 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006764, allocations: 0 / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.006772, allocations: 4 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.006774, allocations: 7.953 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006776, allocations: 3.984 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.007001, allocations: 394.3 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.007029, allocations: 23.88 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007039, allocations: 4 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.007085, allocations: 0 / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.007113, allocations: 3.938 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.007117, allocations: 8 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.007165, allocations: 147.1 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007165, allocations: 0 / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.007324, allocations: 8 kB / 278.7 MB, free: 11.21 MB / 266.7 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 6.153e-05/0.007386, allocations: 103 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.007505, allocations: 31.61 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007507, allocations: 0 / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.007524, allocations: 15.69 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.007827, allocations: 35.06 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.00811, allocations: 204 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.346e-05/0.008153, allocations: 75.58 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.556e-05/0.008169, allocations: 3.938 kB / 279.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.008194, allocations: 12.5 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.008195, allocations: 0 / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002266/0.01046, allocations: 0.7189 MB / 279.9 MB, free: 9.949 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.558358224108815]