Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001781/0.001781, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002146/0.002146, allocations: 221 kB / 23 MB, free: 5.57 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.45/1.45, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 67.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3773, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003533/0.3808, allocations: 1.582 MB / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3822, allocations: 0.5609 MB / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3823, allocations: 4 kB / 431.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.307e-05/0.3824, allocations: 3.938 kB / 431.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.3826, allocations: 11.88 kB / 431.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.383, allocations: 63.75 kB / 432 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.3831, allocations: 55.77 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3833, allocations: 8.188 kB / 432.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3834, allocations: 31.92 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.3834, allocations: 27.84 kB / 432.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3835, allocations: 0 / 432.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.101e-05/0.3835, allocations: 8 kB / 432.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.3835, allocations: 15.92 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.3836, allocations: 23.81 kB / 432.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.3838, allocations: 63.33 kB / 432.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3838, allocations: 4 kB / 432.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3838, allocations: 3.938 kB / 432.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3838, allocations: 0 / 432.2 MB, free: 5.051 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.0005466/0.3843, allocations: 392.5 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3844, allocations: 12.03 kB / 432.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.3845, allocations: 12.89 kB / 432.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3848, allocations: 204.7 kB / 432.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3848, allocations: 4.375 kB / 432.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3848, allocations: 7.938 kB / 432.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3851, allocations: 105 kB / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3851, allocations: 0 / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3851, allocations: 0 / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3851, allocations: 0 / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.3852, allocations: 23.92 kB / 433 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3856, allocations: 265.8 kB / 433.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.3857, allocations: 45.14 kB / 433.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.3858, allocations: 21.77 kB / 433.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3858, allocations: 0 / 433.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3858, allocations: 38.56 kB / 433.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3858, allocations: 0 / 433.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.3861, allocations: 69.56 kB / 433.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.3861, allocations: 77.11 kB / 433.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3863, allocations: 156.7 kB / 433.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3863, allocations: 29.95 kB / 433.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3864, allocations: 92.09 kB / 433.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.3864, allocations: 0 / 433.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3864, allocations: 21.66 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3866, allocations: 318.8 kB / 434.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.3866, allocations: 8 kB / 434.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.3867, allocations: 21.7 kB / 434.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3868, allocations: 33.77 kB / 434.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3868, allocations: 0 / 434.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001623/0.387, allocations: 57.58 kB / 434.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.387, allocations: 6.656 kB / 434.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.387, allocations: 4 kB / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.387, allocations: 4 kB / 434.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.3871, allocations: 12.05 kB / 434.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3871, allocations: 0 / 434.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.3872, allocations: 7.938 kB / 434.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3872, allocations: 0 / 434.3 MB, free: 2.781 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 0.0001214/0.3873, allocations: 117.8 kB / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.3874, allocations: 41.59 kB / 434.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.3874, allocations: 11.88 kB / 434.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3874, allocations: 3.938 kB / 434.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3874, allocations: 4.031 kB / 434.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3874, allocations: 3.938 kB / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3877, allocations: 169.7 kB / 434.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3877, allocations: 3.984 kB / 434.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.3877, allocations: 4 kB / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3878, allocations: 0 / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3878, allocations: 0 / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.3878, allocations: 4 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3878, allocations: 0 / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.3881, allocations: 172.2 kB / 434.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.3882, allocations: 89.05 kB / 434.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3882, allocations: 0 / 434.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.3883, allocations: 0 / 434.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.3883, allocations: 7.938 kB / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3883, allocations: 0 / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3885, allocations: 122.7 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3885, allocations: 0 / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.3887, allocations: 4 kB / 435 MB, free: 1.93 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.0001209/0.3888, allocations: 95.25 kB / 435.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.389, allocations: 31.84 kB / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.389, allocations: 0 / 435.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.389, allocations: 4.125 kB / 435.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3894, allocations: 24.08 kB / 435.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3898, allocations: 171.3 kB / 435.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.3902, allocations: 0.6924 MB / 436 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.3902, allocations: 4 kB / 436 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.3902, allocations: 11.44 kB / 436 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3902, allocations: 4.094 kB / 436 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Templates: time 0.003353/0.3936, allocations: 0.5936 MB / 436.6 MB, free: 256 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.9382927771657705]