Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 50.55 MB / 409.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004113/0.3985, allocations: 1.887 MB / 411.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4009, allocations: 1.286 MB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.4011, allocations: 3.938 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.4016, allocations: 67.67 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.4021, allocations: 143.4 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.403, allocations: 211.4 kB / 412.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.4033, allocations: 183.5 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.4035, allocations: 33.55 kB / 413 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4036, allocations: 79.62 kB / 413.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.4038, allocations: 79.67 kB / 413.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.4038, allocations: 12 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.404, allocations: 63.97 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.4042, allocations: 51.81 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4043, allocations: 83.36 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.4047, allocations: 235.1 kB / 413.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4047, allocations: 0 / 413.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4047, allocations: 0 / 413.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4047, allocations: 0 / 413.6 MB, free: 13.15 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.0008879/0.4056, allocations: 0.5441 MB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4057, allocations: 8.031 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.4058, allocations: 28.66 kB / 414.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.4063, allocations: 291.5 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4064, allocations: 4.375 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.4064, allocations: 8.125 kB / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.4068, allocations: 167.2 kB / 414.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4068, allocations: 0 / 414.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4068, allocations: 8 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4069, allocations: 3.938 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.407, allocations: 35.98 kB / 414.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.4076, allocations: 382.4 kB / 415.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.4078, allocations: 123.9 kB / 415.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.4079, allocations: 46.56 kB / 415.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.408, allocations: 7.938 kB / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.4082, allocations: 83.31 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.657e-06/0.4082, allocations: 0 / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004511/0.4086, allocations: 157.2 kB / 415.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4088, allocations: 158.2 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.4091, allocations: 334.7 kB / 416 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4092, allocations: 25.7 kB / 416 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4093, allocations: 136.3 kB / 416.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4093, allocations: 19.75 kB / 416.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.4094, allocations: 33.7 kB / 416.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4095, allocations: 338.8 kB / 416.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.4096, allocations: 23.98 kB / 416.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.4097, allocations: 86.8 kB / 416.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.4099, allocations: 80.22 kB / 416.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4099, allocations: 0 / 416.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.4102, allocations: 137.5 kB / 416.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4102, allocations: 6.969 kB / 416.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4102, allocations: 4 kB / 416.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4102, allocations: 0 / 416.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4104, allocations: 19.98 kB / 416.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4104, allocations: 0 / 416.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.4105, allocations: 11.94 kB / 416.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.4105, allocations: 4 kB / 416.9 MB, free: 9.543 MB / 334.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.0001618/0.4106, allocations: 165.8 kB / 417.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.4108, allocations: 61.42 kB / 417.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/0.4108, allocations: 29.7 kB / 417.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4108, allocations: 0 / 417.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4109, allocations: 4 kB / 417.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4109, allocations: 7.875 kB / 417.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.4111, allocations: 245.5 kB / 417.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4111, allocations: 0 / 417.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.4112, allocations: 11.94 kB / 417.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4112, allocations: 4.062 kB / 417.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4112, allocations: 7.984 kB / 417.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4112, allocations: 4 kB / 417.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4112, allocations: 0 / 417.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4115, allocations: 170.3 kB / 417.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4117, allocations: 112.8 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4117, allocations: 4 kB / 417.7 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.47e-05/0.4118, allocations: 7.984 kB / 417.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4118, allocations: 11.98 kB / 417.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4119, allocations: 7.938 kB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.4121, allocations: 245.9 kB / 418 MB, free: 8.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4121, allocations: 4 kB / 418 MB, free: 8.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002814/0.4124, allocations: 27.98 kB / 418 MB, free: 8.324 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001026/0.4135, allocations: 420.4 kB / 418.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4137, allocations: 75.89 kB / 418.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4137, allocations: 0 / 418.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.4138, allocations: 31.98 kB / 418.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.4143, allocations: 74.41 kB / 418.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.415, allocations: 384.2 kB / 419 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4153, allocations: 0.7358 MB / 419.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.4154, allocations: 25.53 kB / 419.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.4155, allocations: 23.44 kB / 419.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4155, allocations: 3.938 kB / 419.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of Templates: time 0.00675/0.4223, allocations: 2.894 MB / 422.6 MB, free: 3.777 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches