Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.009517/0.009517, allocations: 102.8 kB / 21.97 MB, free: 5.207 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.002219/0.002219, allocations: 224 kB / 25.3 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2832, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003098/0.2863, allocations: 1.591 MB / 434.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2874, allocations: 0.5726 MB / 435.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.2875, allocations: 7.938 kB / 435.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.2875, allocations: 3.938 kB / 435.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.2877, allocations: 11.86 kB / 435.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.288, allocations: 55.83 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2881, allocations: 55.77 kB / 435.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2882, allocations: 8.188 kB / 435.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2883, allocations: 27.86 kB / 435.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.2884, allocations: 27.84 kB / 435.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2884, allocations: 4 kB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.2885, allocations: 8 kB / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.2885, allocations: 15.92 kB / 435.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.2886, allocations: 23.81 kB / 435.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.2887, allocations: 64.94 kB / 435.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2887, allocations: 0 / 435.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2887, allocations: 0 / 435.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2887, allocations: 0 / 435.6 MB, free: 4.496 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.0004992/0.2892, allocations: 309.9 kB / 435.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2893, allocations: 8.031 kB / 435.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2894, allocations: 20.88 kB / 436 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.2897, allocations: 141.1 kB / 436.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2897, allocations: 384 / 436.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2897, allocations: 8.375 kB / 436.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.29, allocations: 109.2 kB / 436.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.29, allocations: 3.938 kB / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.29, allocations: 0 / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.29, allocations: 4 kB / 436.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.2901, allocations: 15.98 kB / 436.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.2904, allocations: 244.7 kB / 436.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.2905, allocations: 41.2 kB / 436.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.2906, allocations: 21.72 kB / 436.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2906, allocations: 0 / 436.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2906, allocations: 42.5 kB / 436.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2906, allocations: 0 / 436.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002566/0.2909, allocations: 69.56 kB / 436.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.2909, allocations: 81.11 kB / 436.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2911, allocations: 137.8 kB / 436.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.2911, allocations: 25.95 kB / 436.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2911, allocations: 92.14 kB / 437 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2912, allocations: 3.953 kB / 437 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.2912, allocations: 21.7 kB / 437 MB, free: 2.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2913, allocations: 318.8 kB / 437.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.2914, allocations: 11.98 kB / 437.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.2914, allocations: 13.72 kB / 437.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.2915, allocations: 37.7 kB / 437.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2915, allocations: 0 / 437.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.2916, allocations: 61.56 kB / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2917, allocations: 4 kB / 437.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2917, allocations: 4 kB / 437.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2917, allocations: 3.984 kB / 437.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.2917, allocations: 8.062 kB / 437.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2918, allocations: 4 kB / 437.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.2918, allocations: 4 kB / 437.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2918, allocations: 0 / 437.5 MB, free: 2.438 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.41e-05/0.2919, allocations: 121.8 kB / 437.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.2919, allocations: 37.66 kB / 437.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.292, allocations: 19.75 kB / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.292, allocations: 0 / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.292, allocations: 4.031 kB / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.292, allocations: 0 / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2922, allocations: 148.6 kB / 437.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2922, allocations: 0 / 437.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.2922, allocations: 7.938 kB / 437.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2922, allocations: 0 / 437.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2922, allocations: 0 / 437.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2922, allocations: 4 kB / 437.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2922, allocations: 0 / 437.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.2924, allocations: 164.3 kB / 438 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.2924, allocations: 15.94 kB / 438 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2925, allocations: 0 / 438 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.2925, allocations: 8 kB / 438 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.2925, allocations: 0 / 438 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2926, allocations: 0 / 438 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.349e-05/0.2926, allocations: 113.8 kB / 438.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2926, allocations: 7.969 kB / 438.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.2929, allocations: 7.938 kB / 438.1 MB, free: 1.715 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 0.0001009/0.293, allocations: 95.25 kB / 438.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.2931, allocations: 19.98 kB / 438.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2931, allocations: 0 / 438.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.2931, allocations: 7.984 kB / 438.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2935, allocations: 30.75 kB / 438.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.2938, allocations: 189.4 kB / 438.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2941, allocations: 0.6885 MB / 439.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.2942, allocations: 11.44 kB / 439.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2942, allocations: 0 / 439.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of Templates: time 0.002338/0.2965, allocations: 0.7497 MB / 439.9 MB, free: 15.87 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.244308041874319]