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.001287/0.001287, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00122/0.00122, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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.9958/0.9958, allocations: 177 MB / 205.1 MB, free: 5.484 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.653e-06/1.653e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.636e-05, allocations: 6.25 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002083/0.002099, allocations: 1.729 MB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.002495, allocations: 171.3 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.002578, allocations: 3.938 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.002624, allocations: 3.938 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.002749, allocations: 15.86 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.002943, allocations: 43.83 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.003041, allocations: 55.78 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.003132, allocations: 23.97 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.003191, allocations: 31.92 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.003237, allocations: 23.89 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.003258, allocations: 8 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.003268, allocations: 4 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.003309, allocations: 15.94 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.003333, allocations: 19.92 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003435, allocations: 51.69 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003437, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003438, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.003441, allocations: 0 / 275.5 MB, free: 15.01 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.0003639/0.003805, allocations: 416.2 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.003841, allocations: 15.98 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.00388, allocations: 16.89 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004028, allocations: 159.2 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.004037, allocations: 384 / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.004048, allocations: 12.38 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.004274, allocations: 156 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.004282, allocations: 4.188 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004289, allocations: 384 / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.004298, allocations: 4.375 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.004331, allocations: 19.86 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.004622, allocations: 386.9 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.004782, allocations: 121.2 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.004836, allocations: 51.31 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.004857, allocations: 3.938 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.004881, allocations: 45.39 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.004882, allocations: 0 / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001885/0.005071, allocations: 89.5 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.005129, allocations: 110.8 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.005226, allocations: 189.9 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005239, allocations: 29.7 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.005291, allocations: 142.8 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.005305, allocations: 3.953 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.005337, allocations: 23.33 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.005463, allocations: 0.4886 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.005469, allocations: 4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.005486, allocations: 23.36 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.005514, allocations: 23.38 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.005515, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.16e-05/0.005567, allocations: 37.64 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.005581, allocations: 8 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005585, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005598, allocations: 8.062 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.005627, allocations: 7.984 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.00563, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.005649, allocations: 4 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.005652, allocations: 0 / 278.1 MB, free: 12.16 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.878e-05/0.00572, allocations: 160.5 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.005807, allocations: 65.94 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.005836, allocations: 12.78 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.005843, allocations: 11.92 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.005845, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.005849, allocations: 7.984 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.006014, allocations: 117.2 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006015, allocations: 0 / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.006059, allocations: 15.94 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.006063, allocations: 4 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.006069, allocations: 7.938 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.006073, allocations: 7.984 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006074, allocations: 4 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006199, allocations: 318.7 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.006231, allocations: 23.88 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.006241, allocations: 4.031 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.006321, allocations: 8 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.006343, allocations: 7.922 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.006347, allocations: 4 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.104e-05/0.006398, allocations: 142.1 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006398, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.006636, allocations: 8 kB / 279 MB, free: 11.19 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 7.412e-05/0.00671, allocations: 95.25 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.105e-05/0.006782, allocations: 35.59 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006783, allocations: 0 / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.006798, allocations: 11.69 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.007147, allocations: 41.64 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.007444, allocations: 215.8 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.007494, allocations: 63.34 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.007512, allocations: 4 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.007566, allocations: 78.44 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007567, allocations: 4 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.00237/0.009937, allocations: 0.7184 MB / 280.3 MB, free: 9.859 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.63631782727316]