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.001584/0.001584, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.00156/0.00156, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.507/1.507, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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 2.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.44e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003522/0.003556, allocations: 1.599 MB / 273.8 MB, free: 192 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.00472, allocations: 0.5296 MB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.004811, allocations: 0 / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.343e-05/0.004874, allocations: 7.922 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.005044, allocations: 11.88 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.00539, allocations: 63.73 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.005517, allocations: 51.73 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.005623, allocations: 16.11 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.005778, allocations: 39.91 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.005832, allocations: 7.984 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.005852, allocations: 4 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.471e-05/0.005897, allocations: 4 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.005966, allocations: 15.92 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.006009, allocations: 19.92 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.006182, allocations: 59.78 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.006184, allocations: 0 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006185, allocations: 0 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.00619, allocations: 4 kB / 274.6 MB, free: 15.35 MB / 266.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.0007187/0.006909, allocations: 309.8 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.006972, allocations: 15.98 kB / 275 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.007183, allocations: 24.88 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.007491, allocations: 146.2 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.007504, allocations: 384 / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.007514, allocations: 4.375 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.007853, allocations: 122.2 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.007862, allocations: 0 / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.007871, allocations: 0 / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.007882, allocations: 4 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.007973, allocations: 23.92 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.008322, allocations: 210.3 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.008475, allocations: 75.72 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.008567, allocations: 42.56 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.008594, allocations: 0 / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.008638, allocations: 34.56 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.008638, allocations: 0 / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003493/0.008988, allocations: 89.52 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.009096, allocations: 106.8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.009282, allocations: 149.5 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.009309, allocations: 37.7 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.009383, allocations: 88.12 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.009398, allocations: 0 / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.009433, allocations: 13.72 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.009621, allocations: 322.8 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.009664, allocations: 11.98 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.009693, allocations: 4 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.009783, allocations: 20.84 kB / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009785, allocations: 0 / 276.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001301/0.009915, allocations: 61.64 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.009932, allocations: 4 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009937, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.009952, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.01002, allocations: 7.984 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01003, allocations: 0 / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.01006, allocations: 0 / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.01006, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.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 0.0001125/0.01018, allocations: 121.8 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.01027, allocations: 57.59 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.0103, allocations: 11.95 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.0103, allocations: 4 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01031, allocations: 0 / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01031, allocations: 0 / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.01048, allocations: 121.2 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01049, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.01055, allocations: 11.98 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01055, allocations: 0 / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01056, allocations: 8.062 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01056, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01056, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01081, allocations: 181.1 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.01086, allocations: 31.86 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.01087, allocations: 0 / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.01095, allocations: 4 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.01099, allocations: 3.984 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.01099, allocations: 3.938 kB / 277.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.01109, allocations: 111.2 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01109, allocations: 4 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.01131, allocations: 4 kB / 277.2 MB, free: 12.5 MB / 266.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 0.0001249/0.01143, allocations: 99.25 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.0116, allocations: 27.92 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0116, allocations: 0 / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.01165, allocations: 7.984 kB / 277.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.01204, allocations: 36.77 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.01251, allocations: 185.1 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.01264, allocations: 75.33 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01268, allocations: 4 kB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01272, allocations: 8.5 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01272, allocations: 4 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.003778/0.0165, allocations: 0.701 MB / 278.3 MB, free: 11.32 MB / 266.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: 4.432857670006342]