Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3819, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003725/0.3857, allocations: 1.921 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3878, allocations: 1.239 MB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3881, allocations: 7.938 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.3887, allocations: 147.5 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.3892, allocations: 159.4 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3898, allocations: 171.4 kB / 412.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.3901, allocations: 203.4 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3902, allocations: 37.66 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3904, allocations: 83.56 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3905, allocations: 75.69 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3906, allocations: 8 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.3907, allocations: 63.91 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-05/0.3908, allocations: 47.83 kB / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.3909, allocations: 75.48 kB / 413.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.3913, allocations: 223 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3913, allocations: 0 / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.3913, allocations: 0 / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3913, allocations: 7.938 kB / 413.7 MB, free: 13.12 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.0008161/0.3921, allocations: 0.5232 MB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3922, allocations: 12.03 kB / 414.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.3923, allocations: 20.8 kB / 414.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3926, allocations: 290.9 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3927, allocations: 384 / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3927, allocations: 24.06 kB / 414.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.393, allocations: 159.6 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3931, allocations: 7.938 kB / 414.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3931, allocations: 7.984 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.3931, allocations: 4 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3932, allocations: 35.92 kB / 414.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.3937, allocations: 379.2 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.394, allocations: 134.5 kB / 415.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.3941, allocations: 55.42 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3941, allocations: 7.984 kB / 415.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.3943, allocations: 75.33 kB / 415.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.3943, allocations: 0 / 415.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003947/0.3947, allocations: 161.7 kB / 415.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.3948, allocations: 166.2 kB / 415.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.3951, allocations: 274.6 kB / 416 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3951, allocations: 29.7 kB / 416 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.752e-05/0.3952, allocations: 124.4 kB / 416.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3953, allocations: 23.95 kB / 416.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3953, allocations: 33.7 kB / 416.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3954, allocations: 334.8 kB / 416.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3955, allocations: 23.98 kB / 416.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3956, allocations: 79.66 kB / 416.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3958, allocations: 93.97 kB / 416.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3958, allocations: 0 / 416.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002326/0.396, allocations: 137.4 kB / 416.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3961, allocations: 8 kB / 416.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3961, allocations: 0 / 416.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3961, allocations: 7.984 kB / 416.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.3962, allocations: 16.25 kB / 416.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3962, allocations: 0 / 416.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.3963, allocations: 19.86 kB / 416.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3963, allocations: 12 kB / 416.9 MB, free: 9.52 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,sample1.u,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.0001222/0.3964, allocations: 149.8 kB / 417 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3966, allocations: 77.5 kB / 417.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.3966, allocations: 25.7 kB / 417.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3966, allocations: 0 / 417.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3966, allocations: 4 kB / 417.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3967, allocations: 7.922 kB / 417.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.3969, allocations: 229.5 kB / 417.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3969, allocations: 0 / 417.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.3969, allocations: 8 kB / 417.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3969, allocations: 8.094 kB / 417.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3969, allocations: 3.984 kB / 417.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3969, allocations: 11.88 kB / 417.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3969, allocations: 0 / 417.4 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3972, allocations: 179.4 kB / 417.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.3973, allocations: 112.9 kB / 417.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3973, allocations: 4 kB / 417.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.3974, allocations: 4 kB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3975, allocations: 7.984 kB / 417.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3975, allocations: 7.938 kB / 417.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3977, allocations: 209.9 kB / 417.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3977, allocations: 0 / 417.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.398, allocations: 28 kB / 418 MB, free: 8.348 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,sample1.u,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.0009509/0.399, allocations: 429.3 kB / 418.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3992, allocations: 79.84 kB / 418.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3992, allocations: 0 / 418.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.3993, allocations: 27.92 kB / 418.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3998, allocations: 80.88 kB / 418.6 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.4004, allocations: 338.2 kB / 418.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4008, allocations: 0.732 MB / 419.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.602e-05/0.4009, allocations: 29.55 kB / 419.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4009, allocations: 27.42 kB / 419.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4009, allocations: 3.938 kB / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of Templates: time 0.006902/0.4078, allocations: 2.69 MB / 422.4 MB, free: 4.035 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches