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.001553/0.001553, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001641/0.001641, allocations: 218.7 kB / 24.47 MB, free: 4.359 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.533/1.533, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002453/0.002453, allocations: 75.81 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3816, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003341/0.3849, allocations: 1.585 MB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3861, allocations: 0.561 MB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.3862, allocations: 7.938 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.3862, allocations: 3.938 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.3864, allocations: 11.88 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.3867, allocations: 59.81 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3868, allocations: 51.78 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.387, allocations: 20.16 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3871, allocations: 27.86 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.3872, allocations: 31.78 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3872, allocations: 0 / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.3872, allocations: 12 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.3873, allocations: 15.92 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.3873, allocations: 19.81 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3875, allocations: 65.22 kB / 434.5 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3875, allocations: 4 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3875, allocations: 0 / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3875, allocations: 4 kB / 434.5 MB, free: 4.902 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.000571/0.3881, allocations: 379 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3881, allocations: 16.02 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3883, allocations: 12.89 kB / 434.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3886, allocations: 208.7 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3886, allocations: 384 / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3887, allocations: 15.94 kB / 435.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.3889, allocations: 101 kB / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.389, allocations: 0 / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.389, allocations: 0 / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.389, allocations: 0 / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.389, allocations: 23.98 kB / 435.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.3894, allocations: 265.6 kB / 435.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.3895, allocations: 37.2 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3896, allocations: 29.77 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3896, allocations: 7.938 kB / 435.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3896, allocations: 30.56 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3896, allocations: 0 / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002599/0.3899, allocations: 73.56 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.3899, allocations: 77.11 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3901, allocations: 152.6 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3901, allocations: 25.7 kB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.3902, allocations: 96.12 kB / 436 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3902, allocations: 3.953 kB / 436 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3902, allocations: 13.72 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3904, allocations: 318.8 kB / 436.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.949e-05/0.3904, allocations: 4 kB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/0.3905, allocations: 29.7 kB / 436.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.3905, allocations: 33.58 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3905, allocations: 0 / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.3907, allocations: 53.64 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3907, allocations: 4 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3907, allocations: 4.125 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3907, allocations: 7.938 kB / 436.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3908, allocations: 11.92 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3908, allocations: 0 / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.3908, allocations: 7.938 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3908, allocations: 0 / 436.5 MB, free: 2.637 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.761e-05/0.3909, allocations: 113.8 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.391, allocations: 45.64 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.391, allocations: 11.91 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.391, allocations: 0 / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.391, allocations: 0 / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.391, allocations: 3.938 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3912, allocations: 169.7 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3912, allocations: 0 / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3913, allocations: 7.984 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3913, allocations: 3.938 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3913, allocations: 0 / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3913, allocations: 4 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3913, allocations: 0 / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3915, allocations: 168.3 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3915, allocations: 93.05 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3916, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.3916, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3917, allocations: 7.938 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3917, allocations: 4.031 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.3918, allocations: 111.8 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3918, allocations: 0 / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.392, allocations: 4 kB / 437.2 MB, free: 1.801 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.0001093/0.3921, allocations: 99.19 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001528/0.3922, allocations: 19.98 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3922, allocations: 0 / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.3923, allocations: 20.11 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3926, allocations: 23.95 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.393, allocations: 205 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3934, allocations: 0.6924 MB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3934, allocations: 7.438 kB / 438.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3934, allocations: 4.156 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of Templates: time 0.002731/0.3962, allocations: 0.7925 MB / 439.1 MB, free: 15.88 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.495307146571577]