Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.002521/0.002521, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00272/0.00272, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.672/1.672, allocations: 230.3 MB / 258 MB, free: 8.246 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 67.83 kB / 378.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3532, allocations: 53.35 MB / 432.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003557/0.3568, allocations: 1.613 MB / 433.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.358, allocations: 0.5571 MB / 434.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3581, allocations: 11.94 kB / 434.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.3581, allocations: 7.922 kB / 434.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.3583, allocations: 19.86 kB / 434.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3586, allocations: 63.75 kB / 434.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3587, allocations: 39.86 kB / 434.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3588, allocations: 20.16 kB / 434.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.359, allocations: 27.86 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.3591, allocations: 23.86 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3591, allocations: 4 kB / 434.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.3591, allocations: 4 kB / 434.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3592, allocations: 23.86 kB / 434.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.3592, allocations: 31.8 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3594, allocations: 61.36 kB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3594, allocations: 0 / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3594, allocations: 0 / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3594, allocations: 0 / 434.6 MB, free: 4.582 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.0005305/0.3599, allocations: 305.9 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.36, allocations: 8.031 kB / 434.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.3602, allocations: 28.81 kB / 435 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3605, allocations: 146.5 kB / 435.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3605, allocations: 4.375 kB / 435.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3605, allocations: 7.938 kB / 435.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.3608, allocations: 117.9 kB / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3608, allocations: 0 / 435.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3609, allocations: 4 kB / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3609, allocations: 0 / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.361, allocations: 23.92 kB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3613, allocations: 241.7 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3615, allocations: 67.78 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.3615, allocations: 30.62 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3616, allocations: 8 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3616, allocations: 38.5 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3616, allocations: 0 / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002893/0.3619, allocations: 85.52 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.362, allocations: 115.2 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3621, allocations: 153.6 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3622, allocations: 29.7 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3622, allocations: 88.12 kB / 436.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3622, allocations: 4 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3623, allocations: 17.67 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3624, allocations: 322.8 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/0.3625, allocations: 4 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.3625, allocations: 39.42 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3626, allocations: 47.36 kB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3626, allocations: 4 kB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.3628, allocations: 69.61 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3628, allocations: 4 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3628, allocations: 0 / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3628, allocations: 4 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.3629, allocations: 12 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3629, allocations: 7.922 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.3629, allocations: 7.938 kB / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.363, allocations: 8.062 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001048/0.3631, allocations: 113.8 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.3632, allocations: 61.53 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.3632, allocations: 11.97 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3632, allocations: 0 / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3632, allocations: 0 / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3632, allocations: 11.92 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3634, allocations: 136.7 kB / 437 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3634, allocations: 8.062 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.3634, allocations: 4 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3634, allocations: 8.078 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3635, allocations: 0 / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3635, allocations: 0 / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3635, allocations: 7.984 kB / 437 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3637, allocations: 185.1 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.3637, allocations: 19.88 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3638, allocations: 4 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3638, allocations: 0 / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.3639, allocations: 7.938 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3639, allocations: 3.938 kB / 437.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.364, allocations: 114.2 kB / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.364, allocations: 0 / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3642, allocations: 8 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001282/0.3644, allocations: 99.25 kB / 437.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3645, allocations: 31.91 kB / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3645, allocations: 0 / 437.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.3646, allocations: 12 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.365, allocations: 31.53 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.3654, allocations: 188.5 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.3658, allocations: 0.6989 MB / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.3659, allocations: 0 / 438.4 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.3659, allocations: 11.44 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3659, allocations: 0 / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of Templates: time 0.003872/0.3698, allocations: 0.6767 MB / 439.1 MB, free: 15.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 5.214264510199428]