Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001229/0.001229, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001021/0.001021, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9163/0.9163, allocations: 177 MB / 205.2 MB, free: 5.055 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.474e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002253/0.002267, allocations: 1.653 MB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006475/0.002915, allocations: 0.5335 MB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.002985, allocations: 7.938 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.003026, allocations: 7.875 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.003145, allocations: 7.938 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.003356, allocations: 51.75 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.003444, allocations: 51.78 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.003516, allocations: 16.11 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.003621, allocations: 43.89 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.003665, allocations: 15.92 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.00368, allocations: 4 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.003726, allocations: 4 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.003761, allocations: 11.94 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.003778, allocations: 11.98 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003882, allocations: 51.75 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.003883, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003884, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.257e-06/0.003887, allocations: 7.938 kB / 275.9 MB, free: 14.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002803/0.004168, allocations: 276.6 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.004197, allocations: 11.98 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.004296, allocations: 16.92 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.004437, allocations: 145.6 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.004444, allocations: 4.375 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.00445, allocations: 4.375 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004593, allocations: 110.3 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.004599, allocations: 192 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004607, allocations: 8.125 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004612, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.004627, allocations: 7.938 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.004774, allocations: 145.2 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.004858, allocations: 45.05 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.004873, allocations: 13.84 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.004884, allocations: 0 / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.004903, allocations: 42.56 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004904, allocations: 0 / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.223e-05/0.004996, allocations: 45.56 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.005031, allocations: 77.11 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.0051, allocations: 141.7 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.005109, allocations: 29.7 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.005136, allocations: 88.12 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.005149, allocations: 7.891 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.005168, allocations: 9.719 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.005243, allocations: 323.1 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-06/0.005249, allocations: 4 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.005255, allocations: 0 / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.005273, allocations: 8.859 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005275, allocations: 0 / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.822e-05/0.005313, allocations: 37.69 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.005322, allocations: 4 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005327, allocations: 3.938 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.005335, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.022e-05/0.005376, allocations: 7.938 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.005378, allocations: 4.094 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.005389, allocations: 0 / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.005394, allocations: 0 / 277.5 MB, free: 12.79 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 4.923e-05/0.005443, allocations: 116.7 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.005471, allocations: 33.7 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.005491, allocations: 15.73 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005493, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.005494, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005497, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.56e-05/0.005573, allocations: 69.89 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.005575, allocations: 12.02 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.005592, allocations: 4 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005593, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.005598, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005598, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.005601, allocations: 7.875 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.56e-05/0.005667, allocations: 140.4 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.00569, allocations: 15.92 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.0057, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.005727, allocations: 4 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.005751, allocations: 7.969 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.005754, allocations: 0 / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.211e-05/0.005776, allocations: 28.84 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005776, allocations: 0 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001088/0.005884, allocations: 4 kB / 277.9 MB, free: 12.27 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.405e-05/0.005949, allocations: 80.41 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.23e-05/0.006001, allocations: 12.8 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006003, allocations: 0 / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.006012, allocations: 8.922 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.006185, allocations: 20.3 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.006544, allocations: 183.5 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.006577, allocations: 59.34 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.006597, allocations: 256 / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.006647, allocations: 55.38 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.006648, allocations: 4.156 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002019/0.008666, allocations: 0.5997 MB / 278.9 MB, free: 11.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.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.5720405080355704]