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.0007467/0.0007467, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001819, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006827/0.0006827, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009323/0.001615, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9113/0.9113, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.019, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.152e-06/1.152e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.223e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002246/0.002258, allocations: 1.666 MB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.002831, allocations: 0.5568 MB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.00288, allocations: 4 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.002903, allocations: 7.875 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.00295, allocations: 11.92 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.003089, allocations: 63.62 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.003156, allocations: 47.86 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.003206, allocations: 20.09 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.003291, allocations: 43.91 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.003325, allocations: 23.91 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.003334, allocations: 0 / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.119e-05/0.003365, allocations: 8 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003388, allocations: 11.94 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.003403, allocations: 11.94 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.446e-05/0.003478, allocations: 39.78 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.003485, allocations: 0 / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.003485, allocations: 0 / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.003491, allocations: 8 kB / 247.7 MB, free: 11.05 MB / 250.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.0002516/0.003743, allocations: 292.2 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.095e-05/0.003764, allocations: 8.625 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.003862, allocations: 98.03 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.003973, allocations: 141.6 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.003979, allocations: 4.375 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.003988, allocations: 8.312 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004102, allocations: 110.3 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-06/0.004107, allocations: 192 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.004113, allocations: 8.125 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.004117, allocations: 0 / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.213e-05/0.004129, allocations: 7.984 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.004238, allocations: 149.2 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/0.004268, allocations: 41.12 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.227e-05/0.00428, allocations: 13.84 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.004289, allocations: 4 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.004305, allocations: 38.5 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004306, allocations: 0 / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 7.157e-05/0.004378, allocations: 45.56 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.004409, allocations: 81.11 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.004469, allocations: 137.8 kB / 248.9 MB, free: 9.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.004478, allocations: 25.7 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.004509, allocations: 92.11 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.004519, allocations: 4.203 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.004537, allocations: 13.72 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.004609, allocations: 322.8 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.004614, allocations: 4 kB / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-06/0.004618, allocations: 0 / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.357e-05/0.004632, allocations: 12.8 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.004633, allocations: 0 / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.74e-05/0.00467, allocations: 41.62 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.004678, allocations: 4 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.004682, allocations: 3.938 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.00469, allocations: 4.094 kB / 249.4 MB, free: 9.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.004726, allocations: 4 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.004728, allocations: 0 / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.00474, allocations: 0 / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.004743, allocations: 0 / 249.4 MB, free: 9.164 MB / 250.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.494e-05/0.004788, allocations: 116.7 kB / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.004811, allocations: 29.7 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.00483, allocations: 19.73 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.004832, allocations: 0 / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.004834, allocations: 0 / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.004838, allocations: 11.97 kB / 249.6 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/0.004908, allocations: 73.88 kB / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004909, allocations: 0 / 249.6 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.004926, allocations: 4 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.004944, allocations: 11.94 kB / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.004945, allocations: 0 / 249.7 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-06/0.004948, allocations: 4 kB / 249.7 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.00495, allocations: 3.938 kB / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004951, allocations: 0 / 249.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.181e-05/0.005002, allocations: 132.4 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.005011, allocations: 12.03 kB / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.673e-05/0.005038, allocations: 0 / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.005053, allocations: 3.938 kB / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.005056, allocations: 11.94 kB / 249.8 MB, free: 8.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.911e-05/0.005075, allocations: 24.83 kB / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005075, allocations: 0 / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.005181, allocations: 4 kB / 249.8 MB, free: 8.652 MB / 250.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 5.099e-05/0.005232, allocations: 80.41 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.819e-05/0.00527, allocations: 20.8 kB / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.005273, allocations: 0 / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.236e-05/0.005285, allocations: 8.859 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.005455, allocations: 101.4 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.006, allocations: 179.4 kB / 250.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.47e-05/0.006035, allocations: 59.23 kB / 250.3 MB, free: 8.129 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.006053, allocations: 8.547 kB / 250.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.006095, allocations: 55.38 kB / 250.3 MB, free: 8.066 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006096, allocations: 0 / 250.3 MB, free: 8.066 MB / 250.7 MB Notification: Performance of Templates: time 0.001603/0.007699, allocations: 0.6224 MB / 251 MB, free: 7.461 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4631473179906607]