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.0008846/0.0008846, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004422/0.004422, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8781/0.8781, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.512e-06/1.512e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.223e-05, allocations: 6.219 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002206/0.002239, allocations: 1.599 MB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.002989, allocations: 0.5219 MB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.003079, allocations: 3.938 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.003126, allocations: 3.938 kB / 327.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.003287, allocations: 19.84 kB / 327.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.003595, allocations: 55.7 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.003708, allocations: 59.78 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003809, allocations: 8.172 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003934, allocations: 35.91 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.003988, allocations: 15.97 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.004006, allocations: 4 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.004045, allocations: 4 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.004098, allocations: 15.92 kB / 328.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.004123, allocations: 19.88 kB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.004271, allocations: 55.8 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004273, allocations: 0 / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004274, allocations: 8 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.004279, allocations: 0 / 328.2 MB, free: 12.91 MB / 298.7 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.0004219/0.004701, allocations: 309.9 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.004744, allocations: 15.98 kB / 328.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.004865, allocations: 12.89 kB / 328.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.005067, allocations: 142.2 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.005076, allocations: 384 / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.005088, allocations: 8.375 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.00534, allocations: 130.1 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.005349, allocations: 0 / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.005361, allocations: 7.969 kB / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005366, allocations: 0 / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.005417, allocations: 23.98 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.005687, allocations: 214.3 kB / 329.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.005771, allocations: 75.72 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.005811, allocations: 26.64 kB / 329.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.005835, allocations: 7.984 kB / 329.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.005856, allocations: 34.56 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.005857, allocations: 7.938 kB / 329.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001975/0.006055, allocations: 85.45 kB / 329.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.006114, allocations: 107.2 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006221, allocations: 160.7 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.006231, allocations: 25.7 kB / 329.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.006278, allocations: 88.14 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.006293, allocations: 0 / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.006319, allocations: 13.72 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.006416, allocations: 322.8 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.00644, allocations: 4 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.006456, allocations: 11.98 kB / 330 MB, free: 10.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.006498, allocations: 24.91 kB / 330 MB, free: 10.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006501, allocations: 3.938 kB / 330 MB, free: 10.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.907e-05/0.00657, allocations: 49.64 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006584, allocations: 4 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006589, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.006602, allocations: 4 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.006652, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.006659, allocations: 3.984 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.006675, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.00668, allocations: 4.031 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.684e-05/0.006746, allocations: 117.8 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.006793, allocations: 57.58 kB / 330.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.006821, allocations: 11.97 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006823, allocations: 0 / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.006829, allocations: 0 / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.006834, allocations: 3.984 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.006935, allocations: 129.2 kB / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006937, allocations: 0 / 330.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.006972, allocations: 16.05 kB / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006973, allocations: 0 / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.00698, allocations: 4 kB / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006981, allocations: 0 / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006983, allocations: 0 / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.007121, allocations: 181.1 kB / 330.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.007156, allocations: 23.89 kB / 330.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.00717, allocations: 7.938 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.007203, allocations: 0 / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.007232, allocations: 4 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.007236, allocations: 4 kB / 330.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.339e-05/0.007289, allocations: 111.2 kB / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00729, allocations: 0 / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.00743, allocations: 8 kB / 330.8 MB, free: 10.05 MB / 298.7 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 7.79e-05/0.007508, allocations: 99.23 kB / 330.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.394e-05/0.007602, allocations: 23.92 kB / 330.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007603, allocations: 3.938 kB / 330.9 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.007624, allocations: 12.06 kB / 330.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.007891, allocations: 35.17 kB / 330.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.008206, allocations: 208.1 kB / 331.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.008286, allocations: 79.08 kB / 331.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.008324, allocations: 16.5 kB / 331.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.008325, allocations: 0 / 331.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of Templates: time 0.002371/0.0107, allocations: 0.8428 MB / 332.1 MB, free: 8.688 MB / 298.7 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: 3.975511650554836]