Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005627/0.005627, allocations: 105.5 kB / 21.98 MB, free: 5.223 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.001469/0.001469, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 259 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.77 kB / 379.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2886, allocations: 53.35 MB / 433.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003605/0.2922, allocations: 1.621 MB / 434.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2936, allocations: 0.557 MB / 435.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2937, allocations: 11.94 kB / 435.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.846e-05/0.2937, allocations: 7.875 kB / 435.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.2939, allocations: 15.88 kB / 435.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2943, allocations: 59.81 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2945, allocations: 43.84 kB / 435.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2946, allocations: 16.17 kB / 435.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2947, allocations: 35.8 kB / 435.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.2948, allocations: 15.92 kB / 435.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2948, allocations: 4 kB / 435.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-05/0.2949, allocations: 4 kB / 435.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.2949, allocations: 23.91 kB / 435.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.295, allocations: 31.75 kB / 435.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2952, allocations: 57 kB / 435.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2952, allocations: 0 / 435.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2952, allocations: 3.938 kB / 435.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2952, allocations: 0 / 435.7 MB, free: 4.5 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.0006031/0.2958, allocations: 312.6 kB / 436 MB, free: 4.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2958, allocations: 8.031 kB / 436 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.296, allocations: 24.88 kB / 436 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2964, allocations: 146.9 kB / 436.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.2964, allocations: 384 / 436.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2964, allocations: 7.938 kB / 436.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.2967, allocations: 117.9 kB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2967, allocations: 0 / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2967, allocations: 4 kB / 436.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2967, allocations: 0 / 436.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.2968, allocations: 23.92 kB / 436.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.2972, allocations: 245.7 kB / 436.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2974, allocations: 63.8 kB / 436.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.2974, allocations: 34.62 kB / 436.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.2975, allocations: 8 kB / 436.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2975, allocations: 34.5 kB / 436.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2975, allocations: 0 / 436.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.2978, allocations: 93.44 kB / 436.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.2979, allocations: 115.2 kB / 436.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.2981, allocations: 143.8 kB / 437 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2981, allocations: 29.7 kB / 437.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.2982, allocations: 88.12 kB / 437.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2982, allocations: 7.938 kB / 437.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2982, allocations: 17.67 kB / 437.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2984, allocations: 322.8 kB / 437.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.2985, allocations: 8 kB / 437.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.2985, allocations: 35.42 kB / 437.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.2986, allocations: 51.36 kB / 437.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2986, allocations: 0 / 437.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.2988, allocations: 69.61 kB / 437.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2988, allocations: 4 kB / 437.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2988, allocations: 0 / 437.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2988, allocations: 4 kB / 437.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.2989, allocations: 11.98 kB / 437.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2989, allocations: 0 / 437.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.299, allocations: 15.88 kB / 437.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.299, allocations: 4.125 kB / 437.7 MB, free: 2.23 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.0001084/0.2991, allocations: 114.5 kB / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.2992, allocations: 57.59 kB / 437.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.2992, allocations: 11.97 kB / 437.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2992, allocations: 7.922 kB / 437.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2992, allocations: 3.938 kB / 437.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2992, allocations: 7.938 kB / 437.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.2994, allocations: 136.7 kB / 438 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2994, allocations: 4.062 kB / 438 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.2995, allocations: 15.98 kB / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2995, allocations: 0 / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2995, allocations: 4 kB / 438 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2995, allocations: 0 / 438 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2995, allocations: 4 kB / 438 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.2998, allocations: 181.2 kB / 438.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.2998, allocations: 23.91 kB / 438.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2998, allocations: 4 kB / 438.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.2999, allocations: 3.938 kB / 438.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.2999, allocations: 7.938 kB / 438.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2999, allocations: 0 / 438.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3001, allocations: 118.1 kB / 438.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3001, allocations: 0 / 438.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.3003, allocations: 4 kB / 438.4 MB, free: 1.453 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.0001286/0.3004, allocations: 103.2 kB / 438.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3006, allocations: 31.92 kB / 438.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3006, allocations: 0 / 438.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.3007, allocations: 8 kB / 438.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.301, allocations: 30.77 kB / 438.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.3015, allocations: 218.7 kB / 438.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.302, allocations: 0.6885 MB / 439.4 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.302, allocations: 11.44 kB / 439.5 MB, free: 308 kB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.302, allocations: 0 / 439.5 MB, free: 308 kB / 334.1 MB Notification: Performance of Templates: time 0.002949/0.305, allocations: 0.8636 MB / 440.3 MB, free: 15.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.314439754933119]