Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001511, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 208.7 kB / 18.74 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.629/1.629, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.38, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.005402/0.3855, allocations: 1.917 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3882, allocations: 1.309 MB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.3885, allocations: 4 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.389, allocations: 71.59 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.3897, allocations: 139.4 kB / 412.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3909, allocations: 227.3 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.3913, allocations: 187.5 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3915, allocations: 37.66 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.3917, allocations: 87.62 kB / 413.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3918, allocations: 83.61 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.3919, allocations: 8 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3922, allocations: 71.95 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3923, allocations: 59.7 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3924, allocations: 83.41 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.393, allocations: 247.1 kB / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.393, allocations: 4 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.393, allocations: 4 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3931, allocations: 0 / 413.8 MB, free: 13.05 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001063/0.3941, allocations: 0.5439 MB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.484e-05/0.3942, allocations: 8.031 kB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.3943, allocations: 28.64 kB / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.3949, allocations: 307.4 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3949, allocations: 4.375 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.395, allocations: 20.06 kB / 414.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.3954, allocations: 180.3 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3955, allocations: 0 / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3955, allocations: 4 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3955, allocations: 4 kB / 414.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3956, allocations: 39.92 kB / 414.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.3963, allocations: 395.2 kB / 415.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.3966, allocations: 142.5 kB / 415.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3967, allocations: 59.42 kB / 415.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.3968, allocations: 4 kB / 415.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.397, allocations: 79.31 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.446e-06/0.397, allocations: 4 kB / 415.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000493/0.3975, allocations: 173.2 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.3977, allocations: 187.9 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.3981, allocations: 343 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3982, allocations: 29.7 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3983, allocations: 136.5 kB / 416.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.3984, allocations: 15.81 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.3985, allocations: 37.98 kB / 416.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3986, allocations: 338.8 kB / 416.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.3987, allocations: 23.98 kB / 416.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3989, allocations: 100.1 kB / 416.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3991, allocations: 110.2 kB / 417 MB, free: 9.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3991, allocations: 3.938 kB / 417 MB, free: 9.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003213/0.3994, allocations: 145.2 kB / 417.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3995, allocations: 7.125 kB / 417.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3995, allocations: 4 kB / 417.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3995, allocations: 0 / 417.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3996, allocations: 23.98 kB / 417.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3997, allocations: 0 / 417.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3998, allocations: 19.77 kB / 417.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3998, allocations: 8.188 kB / 417.2 MB, free: 9.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,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 (13): * Single equations (assignments): 13 * 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.000176/0.4, allocations: 165.7 kB / 417.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.4001, allocations: 77.34 kB / 417.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.4002, allocations: 25.73 kB / 417.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4002, allocations: 4 kB / 417.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4002, allocations: 0 / 417.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4002, allocations: 3.938 kB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.4005, allocations: 245.6 kB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4005, allocations: 4.094 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.4006, allocations: 15.98 kB / 417.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4006, allocations: 11.88 kB / 417.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4006, allocations: 4.047 kB / 417.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-05/0.4007, allocations: 4 kB / 417.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4007, allocations: 7.969 kB / 417.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.401, allocations: 187.3 kB / 418 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4012, allocations: 112.8 kB / 418.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.4012, allocations: 12.05 kB / 418.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4013, allocations: 4 kB / 418.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.4014, allocations: 15.92 kB / 418.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4014, allocations: 11.94 kB / 418.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000291/0.4017, allocations: 253.9 kB / 418.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4017, allocations: 0 / 418.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.402, allocations: 40 kB / 418.4 MB, free: 7.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001204/0.4032, allocations: 410.5 kB / 418.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.4036, allocations: 83.84 kB / 418.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4036, allocations: 4 kB / 418.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.4037, allocations: 28.36 kB / 418.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.4042, allocations: 81.81 kB / 419 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.405, allocations: 399 kB / 419.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.4054, allocations: 0.7556 MB / 420.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.641e-05/0.4055, allocations: 25.53 kB / 420.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.4055, allocations: 27.42 kB / 420.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4055, allocations: 0 / 420.2 MB, free: 6.184 MB / 334.1 MB Notification: Performance of Templates: time 0.008067/0.4136, allocations: 3.091 MB / 423.3 MB, free: 3.121 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches