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.001946/0.001946, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002839/0.002839, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001953/0.001953, allocations: 59.91 kB / 378.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2816, allocations: 53.41 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003047/0.2846, allocations: 1.57 MB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2857, allocations: 0.5337 MB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.2858, allocations: 4 kB / 433.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.2858, allocations: 3.938 kB / 433.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2859, allocations: 11.86 kB / 433.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.2863, allocations: 67.02 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2864, allocations: 43.91 kB / 433.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.2865, allocations: 16.17 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2866, allocations: 31.8 kB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.2866, allocations: 15.92 kB / 433.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2867, allocations: 4 kB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.2867, allocations: 4 kB / 433.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.2867, allocations: 23.91 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2868, allocations: 19.81 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2869, allocations: 57.98 kB / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2869, allocations: 0 / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2869, allocations: 0 / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2869, allocations: 3.938 kB / 434 MB, free: 4.137 MB / 334.1 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.0004859/0.2874, allocations: 313.9 kB / 434.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2874, allocations: 15.98 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2876, allocations: 20.83 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.2878, allocations: 130.4 kB / 434.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2879, allocations: 8.375 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2879, allocations: 384 / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.2881, allocations: 117.1 kB / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2881, allocations: 0 / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2882, allocations: 0 / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2882, allocations: 0 / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.2882, allocations: 23.92 kB / 434.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.2885, allocations: 209.4 kB / 434.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.2886, allocations: 49.08 kB / 434.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.2887, allocations: 21.78 kB / 434.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2887, allocations: 0 / 434.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2887, allocations: 38.55 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2887, allocations: 0 / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002433/0.289, allocations: 69.58 kB / 435 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.289, allocations: 81.09 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2892, allocations: 140.6 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2892, allocations: 25.7 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.2893, allocations: 88.38 kB / 435.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.2893, allocations: 11.95 kB / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.2893, allocations: 13.72 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2894, allocations: 318.8 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.2895, allocations: 11.92 kB / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.2895, allocations: 17.72 kB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.2896, allocations: 29.64 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2896, allocations: 3.938 kB / 435.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.2898, allocations: 69.62 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2898, allocations: 4 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2898, allocations: 0 / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2898, allocations: 0 / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.2898, allocations: 8 kB / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2899, allocations: 0 / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.2899, allocations: 3.984 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.2899, allocations: 4 kB / 435.8 MB, free: 2.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.461e-05/0.29, allocations: 121.8 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.2901, allocations: 37.66 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.2901, allocations: 15.75 kB / 436 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2901, allocations: 4 kB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2901, allocations: 3.938 kB / 436 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2901, allocations: 3.938 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.2902, allocations: 117.2 kB / 436.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2902, allocations: 8 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.2903, allocations: 7.984 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2903, allocations: 0 / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2903, allocations: 4.031 kB / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2903, allocations: 0 / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2903, allocations: 0 / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2905, allocations: 164.3 kB / 436.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2905, allocations: 11.95 kB / 436.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2905, allocations: 0 / 436.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.2906, allocations: 7.984 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.2906, allocations: 0 / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2906, allocations: 7.922 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.2907, allocations: 118 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2907, allocations: 4.031 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000231/0.291, allocations: 4 kB / 436.5 MB, free: 1.422 MB / 334.1 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 9.48e-05/0.2911, allocations: 91.25 kB / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.2912, allocations: 23.98 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2912, allocations: 3.938 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.2912, allocations: 11.92 kB / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2916, allocations: 16.25 kB / 436.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.2919, allocations: 167.8 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.292, allocations: 71.33 kB / 436.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.292, allocations: 4 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.292, allocations: 11.42 kB / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.292, allocations: 0 / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Templates: time 0.003139/0.2952, allocations: 0.5929 MB / 437.4 MB, free: 396 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.601390456780791]