Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002115/0.002115, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002779/0.002779, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.643/1.643, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB 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.002212/0.002212, allocations: 67.84 kB / 368.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3883, allocations: 53.32 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004479/0.3928, allocations: 1.899 MB / 424.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.396, allocations: 1.301 MB / 425.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3962, allocations: 4 kB / 425.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.3967, allocations: 67.67 kB / 425.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.3973, allocations: 139.4 kB / 425.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.3982, allocations: 222.1 kB / 425.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.3986, allocations: 187.5 kB / 426.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3987, allocations: 17.56 kB / 426.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3989, allocations: 79.67 kB / 426.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.3991, allocations: 83.67 kB / 426.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3991, allocations: 8 kB / 426.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3993, allocations: 71.89 kB / 426.3 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3994, allocations: 55.77 kB / 426.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.3995, allocations: 79.47 kB / 426.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.4, allocations: 242.5 kB / 426.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4, allocations: 0 / 426.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4, allocations: 4 kB / 426.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.4, allocations: 0 / 426.7 MB, free: 3.398 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009292/0.4009, allocations: 0.5493 MB / 427.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.401, allocations: 8.922 kB / 427.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.4011, allocations: 24.8 kB / 427.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.4017, allocations: 287.8 kB / 427.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4017, allocations: 12.38 kB / 427.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4017, allocations: 12.11 kB / 427.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.4021, allocations: 151.6 kB / 427.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4022, allocations: 0 / 427.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.4022, allocations: 8 kB / 427.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4022, allocations: 7.938 kB / 427.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4023, allocations: 39.89 kB / 427.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.4031, allocations: 382.4 kB / 428.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.4034, allocations: 111.9 kB / 428.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4036, allocations: 50.48 kB / 428.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.4036, allocations: 0 / 428.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.4039, allocations: 79.39 kB / 428.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.4039, allocations: 0 / 428.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00063/0.4045, allocations: 161.4 kB / 428.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.4047, allocations: 158.2 kB / 428.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007199/0.4054, allocations: 334.9 kB / 429 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.4054, allocations: 37.7 kB / 429.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4056, allocations: 128 kB / 429.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4057, allocations: 19.89 kB / 429.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4058, allocations: 29.72 kB / 429.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.406, allocations: 334.8 kB / 429.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4061, allocations: 23.98 kB / 429.6 MB, free: 204 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.4063, allocations: 90.84 kB / 429.7 MB, free: 88 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.4066, allocations: 80.22 kB / 429.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4066, allocations: 7.875 kB / 429.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003805/0.407, allocations: 129.5 kB / 429.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.407, allocations: 4 kB / 429.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.407, allocations: 0 / 429.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.407, allocations: 4 kB / 429.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4072, allocations: 19.92 kB / 429.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.4072, allocations: 7.938 kB / 429.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4073, allocations: 7.938 kB / 429.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.4073, allocations: 4.125 kB / 429.9 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002547/0.4076, allocations: 165.8 kB / 430.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4078, allocations: 73.44 kB / 430.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.4082, allocations: 111.4 kB / 430.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4082, allocations: 4 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4082, allocations: 384 / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4082, allocations: 7.875 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.4086, allocations: 245.7 kB / 430.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4086, allocations: 8 kB / 430.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.4086, allocations: 12 kB / 430.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.4087, allocations: 0 / 430.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.4087, allocations: 7.984 kB / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.4087, allocations: 0 / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4087, allocations: 0 / 430.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.4091, allocations: 170.5 kB / 430.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.4093, allocations: 113 kB / 430.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.4093, allocations: 3.984 kB / 430.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4094, allocations: 4 kB / 430.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.4095, allocations: 11.98 kB / 430.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.4095, allocations: 7.938 kB / 430.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004389/0.41, allocations: 245.9 kB / 431.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.41, allocations: 0 / 431.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005217/0.4105, allocations: 35.92 kB / 431.1 MB, free: 14.49 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002321/0.4128, allocations: 446.8 kB / 431.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.4133, allocations: 67.91 kB / 431.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4133, allocations: 0 / 431.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4134, allocations: 27.98 kB / 431.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.4141, allocations: 74.34 kB / 431.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4153, allocations: 372.9 kB / 432.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.4159, allocations: 0.7436 MB / 432.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.4161, allocations: 29.53 kB / 432.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.4162, allocations: 19.44 kB / 432.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4162, allocations: 0 / 432.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01132/0.4275, allocations: 2.926 MB / 435.8 MB, free: 9.918 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches