Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003168/0.3161, allocations: 1.612 MB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.317, allocations: 0.4908 MB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.3171, allocations: 8 kB / 423 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.3172, allocations: 3.938 kB / 423 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.3173, allocations: 15.86 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3176, allocations: 47.83 kB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3177, allocations: 51.78 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3178, allocations: 8.188 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.3179, allocations: 19.92 kB / 423.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.3179, allocations: 23.84 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3179, allocations: 4 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.318, allocations: 7.938 kB / 423.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.318, allocations: 19.92 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.318, allocations: 23.81 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3182, allocations: 65.86 kB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3182, allocations: 0 / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3182, allocations: 0 / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3182, allocations: 0 / 423.3 MB, free: 12.69 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.0005459/0.3188, allocations: 375.1 kB / 423.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3188, allocations: 11.89 kB / 423.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3188, allocations: 12.88 kB / 423.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3191, allocations: 204.2 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3191, allocations: 12.36 kB / 423.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3191, allocations: 384 / 423.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3194, allocations: 126 kB / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3194, allocations: 0 / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3195, allocations: 0 / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3195, allocations: 4 kB / 424 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.3195, allocations: 19.98 kB / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3199, allocations: 282.5 kB / 424.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.32, allocations: 67.78 kB / 424.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.3201, allocations: 30.62 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.3201, allocations: 4 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3202, allocations: 34.56 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3202, allocations: 0 / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002987/0.3205, allocations: 89.5 kB / 424.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.3205, allocations: 102.8 kB / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3207, allocations: 146.2 kB / 424.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3207, allocations: 29.7 kB / 424.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.3208, allocations: 88.14 kB / 424.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3208, allocations: 7.938 kB / 424.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.3209, allocations: 17.72 kB / 424.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.321, allocations: 314.8 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.3211, allocations: 15.98 kB / 425.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.3211, allocations: 43.41 kB / 425.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3212, allocations: 47.36 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3212, allocations: 0 / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.3214, allocations: 73.52 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3214, allocations: 7.984 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3214, allocations: 4 kB / 425.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3214, allocations: 0 / 425.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.3215, allocations: 8 kB / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.3215, allocations: 0 / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3216, allocations: 15.88 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3216, allocations: 3.984 kB / 425.4 MB, free: 10.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.0001185/0.3217, allocations: 129.8 kB / 425.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.3218, allocations: 53.58 kB / 425.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3218, allocations: 11.88 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3218, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3218, allocations: 4 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3218, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.3221, allocations: 173.6 kB / 425.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3221, allocations: 3.984 kB / 425.8 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.3221, allocations: 8 kB / 425.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3221, allocations: 4.062 kB / 425.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3221, allocations: 3.938 kB / 425.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3221, allocations: 0 / 425.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3221, allocations: 7.938 kB / 425.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3224, allocations: 173.1 kB / 426 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.3224, allocations: 97.05 kB / 426.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3224, allocations: 3.984 kB / 426.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.3225, allocations: 4 kB / 426.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3226, allocations: 0 / 426.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3226, allocations: 8 kB / 426.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.957e-05/0.3227, allocations: 109.8 kB / 426.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3227, allocations: 0 / 426.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3229, allocations: 8 kB / 426.2 MB, free: 9.34 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.0001431/0.3231, allocations: 103.2 kB / 426.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3232, allocations: 31.97 kB / 426.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3232, allocations: 4 kB / 426.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.3233, allocations: 7.938 kB / 426.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.3237, allocations: 27.95 kB / 426.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.3241, allocations: 189 kB / 426.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3245, allocations: 0.6922 MB / 427.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.222e-05/0.3246, allocations: 11.98 kB / 427.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3246, allocations: 11.44 kB / 427.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3246, allocations: 0 / 427.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of Templates: time 0.003697/0.3283, allocations: 0.6551 MB / 427.9 MB, free: 7.555 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.978015416301787]