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.001201/0.001201, 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.001286/0.001286, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.015/1.015, allocations: 177 MB / 205.2 MB, free: 5.043 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.413e-06/1.413e-06, allocations: 3.938 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.879e-05, allocations: 2.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002347/0.002366, allocations: 1.657 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.003283, allocations: 0.5607 MB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.00336, allocations: 7.875 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.003413, allocations: 7.922 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.003547, allocations: 11.94 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.00382, allocations: 59.69 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.003918, allocations: 47.84 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.003991, allocations: 12.17 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.004102, allocations: 39.83 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.004147, allocations: 15.94 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.004161, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.004212, allocations: 15.98 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.004249, allocations: 11.94 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.00427, allocations: 15.91 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.004381, allocations: 51.77 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004383, allocations: 0 / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004383, allocations: 0 / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.004387, allocations: 0 / 275.9 MB, free: 14.52 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.0003143/0.004701, allocations: 272.6 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.004732, allocations: 11.98 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.004851, allocations: 16.92 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005013, allocations: 149.5 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.005021, allocations: 384 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.005026, allocations: 4.375 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.005184, allocations: 110.3 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.005192, allocations: 8.125 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.005198, allocations: 4.125 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005205, allocations: 3.984 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.005221, allocations: 7.938 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.005379, allocations: 145.2 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.005421, allocations: 37.23 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.005436, allocations: 13.66 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.00545, allocations: 8.047 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.005472, allocations: 34.56 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 2.013e-06/0.005474, allocations: 4 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001106/0.005584, allocations: 49.56 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.005628, allocations: 77.11 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.005715, allocations: 137.9 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005725, allocations: 29.7 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.005759, allocations: 88.12 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.005771, allocations: 3.953 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.005799, allocations: 17.7 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.00588, allocations: 314.8 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.005886, allocations: 256 / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.005892, allocations: 4 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.005915, allocations: 16.78 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005917, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.939e-05/0.005956, allocations: 29.7 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005967, allocations: 8 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.006116, allocations: 3.938 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.006128, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.006169, allocations: 3.984 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.006172, allocations: 4 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.006188, allocations: 4.094 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.006193, allocations: 0 / 277.5 MB, free: 12.74 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.051e-05/0.006243, allocations: 108.7 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.006281, allocations: 45.62 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.006303, allocations: 11.75 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006304, allocations: 0 / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006305, allocations: 0 / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006308, allocations: 0 / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.006407, allocations: 77.81 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006408, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.006428, allocations: 12.02 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006429, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.006434, allocations: 4 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006435, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.006436, allocations: 3.938 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.923e-05/0.006506, allocations: 140.3 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.00653, allocations: 19.88 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006541, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.006593, allocations: 3.984 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.006614, allocations: 7.938 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006616, allocations: 4.031 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.006642, allocations: 24.84 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006642, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.006812, allocations: 8 kB / 278 MB, free: 12.21 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.461e-05/0.006877, allocations: 72.42 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.006928, allocations: 16.83 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.006932, allocations: 7.938 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.006944, allocations: 4.859 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.007145, allocations: 20.42 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.00752, allocations: 171.6 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.007564, allocations: 55.36 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.007586, allocations: 8.234 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.007638, allocations: 55.38 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007638, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Templates: time 0.002175/0.009813, allocations: 0.603 MB / 279 MB, free: 11.16 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 -s gbode -gbm=radauIIA3 -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.7989890230819583]