Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001105/0.001105, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.001372/0.001372, allocations: 164.2 kB / 24.82 MB, free: 9.297 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 1.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.449 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.477e-06/3.477e-06, allocations: 4 kB / 273.3 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/3.031e-05, allocations: 5.125 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002093/0.002123, allocations: 1.615 MB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.002787, allocations: 0.5219 MB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.002861, allocations: 0 / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.002902, allocations: 3.938 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.00302, allocations: 11.88 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.003253, allocations: 59.75 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.88e-05/0.003342, allocations: 39.8 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.003419, allocations: 7.984 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003524, allocations: 31.91 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.003563, allocations: 15.92 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.003575, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.662e-05/0.003612, allocations: 8 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.003647, allocations: 19.86 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.003664, allocations: 15.92 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.003763, allocations: 35.84 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003765, allocations: 0 / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.003767, allocations: 7.984 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.00377, allocations: 0 / 275.7 MB, free: 14.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003161/0.004086, allocations: 392.3 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004122, allocations: 15.98 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.453e-05/0.004217, allocations: 12.89 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00435, allocations: 151.7 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-06/0.004356, allocations: 384 / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.004363, allocations: 4.375 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004494, allocations: 109.6 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.0045, allocations: 192 / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004506, allocations: 384 / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.00451, allocations: 3.938 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.004525, allocations: 11.94 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.004704, allocations: 248.1 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.004745, allocations: 50.19 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.00476, allocations: 19.38 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.004774, allocations: 7.984 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004793, allocations: 37.39 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004793, allocations: 0 / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001059/0.004899, allocations: 57.52 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.004934, allocations: 77.11 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.005016, allocations: 197.8 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005024, allocations: 25.7 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.005066, allocations: 138.8 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.005077, allocations: 256 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.005103, allocations: 31.33 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005215, allocations: 496.1 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.005224, allocations: 3.984 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.005231, allocations: 4 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/0.005251, allocations: 7.688 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005252, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.284e-05/0.005295, allocations: 37.7 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005306, allocations: 4 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.00531, allocations: 3.938 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.005319, allocations: 8.031 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.005361, allocations: 7.984 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.005364, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.005377, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.005381, allocations: 4 kB / 277.9 MB, free: 12.41 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 5.652e-05/0.005438, allocations: 152.6 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.005469, allocations: 41.66 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.005495, allocations: 11.73 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.005498, allocations: 4 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005499, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005502, allocations: 4.031 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.973e-05/0.005591, allocations: 109.2 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005592, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.00561, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005611, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.005615, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.005616, allocations: 7.938 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005618, allocations: 3.938 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.005712, allocations: 191.6 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.00574, allocations: 19.94 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.005749, allocations: 4.031 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.005779, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.005805, allocations: 7.938 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.005808, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.005857, allocations: 146.2 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005857, allocations: 3.938 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.005996, allocations: 7.938 kB / 278.6 MB, free: 11.64 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 (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 Backend phase and start with SimCode phase: time 6.76e-05/0.006063, allocations: 99.25 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.621e-05/0.006119, allocations: 19.62 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006121, allocations: 0 / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.006133, allocations: 7.688 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.006337, allocations: 16.3 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.006686, allocations: 173.3 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.314e-05/0.006719, allocations: 59.34 kB / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.921e-05/0.006738, allocations: 224 / 278.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.006785, allocations: 78.2 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.006785, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.001919/0.008705, allocations: 0.5577 MB / 279.6 MB, free: 10.58 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.634194578975439]