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.002334/0.002334, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002675/0.002675, allocations: 160.8 kB / 24.27 MB, free: 156 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.61/1.61, allocations: 177 MB / 204.4 MB, free: 5.613 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 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.215e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003252/0.003284, allocations: 1.603 MB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00444, allocations: 0.5491 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.004516, allocations: 3.938 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.489e-05/0.004571, allocations: 3.938 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.004703, allocations: 11.88 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.005012, allocations: 63.73 kB / 274.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.005137, allocations: 51.78 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.005237, allocations: 12.12 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.005384, allocations: 35.89 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.433e-05/0.005439, allocations: 11.98 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.005459, allocations: 8 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.026e-05/0.0055, allocations: 8 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.005552, allocations: 19.91 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.005578, allocations: 7.938 kB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005741, allocations: 63.73 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005743, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005744, allocations: 0 / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005748, allocations: 0 / 274.7 MB, free: 15.32 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.0005892/0.006337, allocations: 411.8 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.006377, allocations: 15.98 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.006537, allocations: 20.88 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.006784, allocations: 157 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.006801, allocations: 4.375 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.006815, allocations: 8.312 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.007132, allocations: 128.3 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007141, allocations: 0 / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.007152, allocations: 8 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.007156, allocations: 0 / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.007231, allocations: 19.98 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.007602, allocations: 283.1 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.007759, allocations: 93.25 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.007834, allocations: 43.05 kB / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.007857, allocations: 0 / 275.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.007893, allocations: 37.39 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.007894, allocations: 4 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002966/0.008191, allocations: 85.45 kB / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.00829, allocations: 114.8 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.008484, allocations: 209.3 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.008504, allocations: 25.7 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.0086, allocations: 138.9 kB / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.008612, allocations: 0 / 276.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.008655, allocations: 19.38 kB / 276.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.008937, allocations: 0.4965 MB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.00897, allocations: 8 kB / 276.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.008997, allocations: 8 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.00906, allocations: 23.61 kB / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.009061, allocations: 0 / 277 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.009169, allocations: 49.64 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.009184, allocations: 8 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.009188, allocations: 0 / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.009199, allocations: 0 / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.009253, allocations: 4.094 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009257, allocations: 0 / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.009284, allocations: 4 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.00929, allocations: 0 / 277 MB, free: 12.65 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.0001295/0.009419, allocations: 168.5 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.00951, allocations: 49.59 kB / 277.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.009546, allocations: 15.95 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.00955, allocations: 4 kB / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.009553, allocations: 0 / 277.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.009561, allocations: 8.047 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.009742, allocations: 132.6 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.009747, allocations: 4 kB / 277.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.009806, allocations: 11.92 kB / 277.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.009811, allocations: 4 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.009821, allocations: 4 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.009823, allocations: 0 / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009824, allocations: 0 / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.01008, allocations: 235.2 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.01013, allocations: 19.84 kB / 277.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01015, allocations: 11.98 kB / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.01021, allocations: 0 / 277.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.01024, allocations: 7.938 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.01025, allocations: 0 / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.01037, allocations: 159.1 kB / 277.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01037, allocations: 0 / 277.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.01058, allocations: 4 kB / 277.9 MB, free: 11.75 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.0001122/0.01069, allocations: 91.25 kB / 278 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01084, allocations: 35.67 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01084, allocations: 4 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.01088, allocations: 11.69 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.01124, allocations: 32.73 kB / 278 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.01163, allocations: 188.4 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.548e-05/0.01173, allocations: 75.33 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.01177, allocations: 12.3 kB / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.0118, allocations: 8.5 kB / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.0118, allocations: 0 / 278.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003893/0.0157, allocations: 0.7046 MB / 279 MB, free: 10.54 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] 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.396532405051403]