Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001358/0.001358, 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.0009831/0.0009831, allocations: 170 kB / 24.82 MB, free: 9.254 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.922/0.922, 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.133e-05, allocations: 5.266 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002295/0.002316, allocations: 1.611 MB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003332, allocations: 0.553 MB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.003404, allocations: 0 / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.003445, allocations: 7.875 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.003563, allocations: 11.88 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.003804, allocations: 67.67 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.00389, allocations: 43.84 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003966, allocations: 8.188 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.00407, allocations: 35.89 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.004111, allocations: 15.92 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004124, allocations: 8 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.00416, allocations: 8 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.004197, allocations: 11.94 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.004217, allocations: 15.97 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.004325, allocations: 51.7 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004327, allocations: 0 / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.004327, allocations: 3.938 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.00433, allocations: 0 / 275.8 MB, free: 14.79 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.0003427/0.004673, allocations: 400.3 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004707, allocations: 15.98 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.004814, allocations: 24.88 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.004954, allocations: 155.7 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.004962, allocations: 384 / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.00497, allocations: 4.375 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005136, allocations: 121.5 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.005142, allocations: 192 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.005149, allocations: 4.125 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.005154, allocations: 4 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.005171, allocations: 7.984 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.005364, allocations: 236.1 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.7e-05/0.005411, allocations: 58.06 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.00543, allocations: 23.48 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.005445, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.005464, allocations: 37.33 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.005465, allocations: 0 / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001191/0.005584, allocations: 53.59 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.005622, allocations: 92.97 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.005719, allocations: 189.9 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.005728, allocations: 25.7 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.005777, allocations: 142.8 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.005789, allocations: 3.984 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.005817, allocations: 19.38 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.005933, allocations: 496.1 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.005941, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.005949, allocations: 8.25 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.005969, allocations: 11.75 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00597, allocations: 0 / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.271e-05/0.006023, allocations: 45.58 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006035, allocations: 11.06 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.006039, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.006053, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.006095, allocations: 4 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.006098, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.006116, allocations: 3.984 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.00612, allocations: 4 kB / 277.9 MB, free: 12.39 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.114e-05/0.006181, allocations: 160.6 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.006219, allocations: 37.66 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.006246, allocations: 11.75 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006248, allocations: 7.984 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00625, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.006252, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.006363, allocations: 101.2 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006364, allocations: 3.938 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.006384, allocations: 7.984 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006385, allocations: 4.031 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.00639, allocations: 4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006391, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.006392, allocations: 3.938 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.006481, allocations: 195.6 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.006508, allocations: 15.89 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.006517, allocations: 0 / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.006566, allocations: 7.984 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.006585, allocations: 7.875 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.006587, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.301e-05/0.00664, allocations: 154.2 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00664, allocations: 0 / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.006839, allocations: 8 kB / 278.6 MB, free: 11.61 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.468e-05/0.006904, allocations: 95.23 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.493e-05/0.006958, allocations: 11.69 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.00696, allocations: 0 / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.006973, allocations: 11.69 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.007231, allocations: 16.52 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.007587, allocations: 177.2 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.007624, allocations: 59.34 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.007644, allocations: 4.25 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.007701, allocations: 78.19 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007701, allocations: 0 / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Templates: time 0.002095/0.009796, allocations: 0.6194 MB / 279.7 MB, free: 10.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.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.6384248239919543]