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.ShiftSample.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.01152/0.01152, allocations: 103.2 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.001871/0.001871, allocations: 220.6 kB / 25.29 MB, free: 3.215 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.555/1.555, allocations: 230.6 MB / 259 MB, free: 8.043 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [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.002015/0.002015, allocations: 67.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2766, allocations: 53.36 MB / 433.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003029/0.2796, allocations: 1.6 MB / 434.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2807, allocations: 0.5609 MB / 435.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.2808, allocations: 8 kB / 435.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.2809, allocations: 11.86 kB / 435.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.281, allocations: 7.938 kB / 435.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.2813, allocations: 70.73 kB / 435.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2815, allocations: 47.8 kB / 435.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2816, allocations: 12.17 kB / 435.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.2817, allocations: 27.91 kB / 435.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2818, allocations: 27.8 kB / 435.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2818, allocations: 4 kB / 435.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.2818, allocations: 12 kB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.2819, allocations: 15.92 kB / 435.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.2819, allocations: 19.81 kB / 435.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2821, allocations: 67.39 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2821, allocations: 0 / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2821, allocations: 0 / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2821, allocations: 0 / 435.6 MB, free: 4.504 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.0005051/0.2826, allocations: 307.4 kB / 435.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2826, allocations: 8.031 kB / 435.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.2828, allocations: 24.88 kB / 436 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2831, allocations: 144.4 kB / 436.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2831, allocations: 384 / 436.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2831, allocations: 15.88 kB / 436.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.2834, allocations: 109 kB / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2834, allocations: 0 / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.2834, allocations: 0 / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2834, allocations: 0 / 436.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.2835, allocations: 23.97 kB / 436.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.2838, allocations: 232.8 kB / 436.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.2839, allocations: 49.16 kB / 436.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.2839, allocations: 17.77 kB / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.284, allocations: 0 / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.284, allocations: 42.5 kB / 436.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.284, allocations: 0 / 436.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000256/0.2842, allocations: 69.62 kB / 436.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.2843, allocations: 85.05 kB / 436.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2845, allocations: 152 kB / 436.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2845, allocations: 25.7 kB / 436.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.2845, allocations: 88.14 kB / 437 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2845, allocations: 3.953 kB / 437 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.2846, allocations: 17.97 kB / 437 MB, free: 2.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2847, allocations: 322.8 kB / 437.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.2848, allocations: 7.938 kB / 437.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.2848, allocations: 21.7 kB / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.2849, allocations: 37.7 kB / 437.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2849, allocations: 0 / 437.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001137/0.285, allocations: 53.64 kB / 437.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.285, allocations: 8 kB / 437.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.285, allocations: 0 / 437.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.285, allocations: 0 / 437.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.2851, allocations: 7.984 kB / 437.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.2851, allocations: 0 / 437.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.2852, allocations: 11.88 kB / 437.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2852, allocations: 4.062 kB / 437.5 MB, free: 2.43 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 8.784e-05/0.2852, allocations: 117.8 kB / 437.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.2853, allocations: 37.66 kB / 437.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2853, allocations: 11.81 kB / 437.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2853, allocations: 0 / 437.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2853, allocations: 0 / 437.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2854, allocations: 7.938 kB / 437.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.2855, allocations: 136.7 kB / 437.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2855, allocations: 0 / 437.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.2856, allocations: 12.02 kB / 437.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2856, allocations: 4 kB / 437.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2856, allocations: 0 / 437.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2856, allocations: 3.938 kB / 437.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2856, allocations: 0 / 437.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2858, allocations: 164.2 kB / 438 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.2858, allocations: 15.98 kB / 438 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2858, allocations: 7.984 kB / 438 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.2859, allocations: 0 / 438 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.2859, allocations: 3.938 kB / 438 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2859, allocations: 4 kB / 438 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.375e-05/0.286, allocations: 110.2 kB / 438.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 0 / 438.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2862, allocations: 12 kB / 438.1 MB, free: 1.719 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.0001052/0.2863, allocations: 95.25 kB / 438.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2864, allocations: 27.92 kB / 438.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2864, allocations: 3.938 kB / 438.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.2865, allocations: 7.984 kB / 438.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.2868, allocations: 22.77 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.000377/0.2872, allocations: 209.5 kB / 438.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2875, allocations: 0.6885 MB / 439.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.2875, allocations: 11.44 kB / 439.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2875, allocations: 0 / 439.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of Templates: time 0.002513/0.2901, allocations: 0.7823 MB / 440 MB, free: 15.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.290765988174826]