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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 112.7 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.283, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003342/0.2863, allocations: 1.983 MB / 409 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2884, allocations: 1.227 MB / 410.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2886, allocations: 3.938 kB / 410.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.2894, allocations: 151.6 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.2897, allocations: 142 kB / 410.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.2902, allocations: 183.8 kB / 410.7 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.2905, allocations: 199.4 kB / 410.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2907, allocations: 36.66 kB / 411 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2908, allocations: 75.62 kB / 411 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.2909, allocations: 75.64 kB / 411.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.2909, allocations: 4 kB / 411.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.2911, allocations: 59.91 kB / 411.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.2912, allocations: 39.84 kB / 411.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.2913, allocations: 71.47 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.2915, allocations: 216.8 kB / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2916, allocations: 3.938 kB / 411.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2916, allocations: 0 / 411.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2916, allocations: 0 / 411.5 MB, free: 23.37 MB / 298.7 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.0007358/0.2923, allocations: 0.5273 MB / 412 MB, free: 22.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2924, allocations: 8.031 kB / 412 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.2924, allocations: 20.75 kB / 412.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.2927, allocations: 270.8 kB / 412.3 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2927, allocations: 16.3 kB / 412.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2928, allocations: 8.125 kB / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.2931, allocations: 168.6 kB / 412.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2931, allocations: 0 / 412.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2931, allocations: 4 kB / 412.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2931, allocations: 4 kB / 412.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.545e-05/0.2932, allocations: 35.92 kB / 412.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.2936, allocations: 379.1 kB / 412.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2939, allocations: 138.4 kB / 413.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.2939, allocations: 59.42 kB / 413.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.294, allocations: 8.062 kB / 413.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.2941, allocations: 75.33 kB / 413.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.2941, allocations: 4 kB / 413.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003687/0.2945, allocations: 165.2 kB / 413.4 MB, free: 21.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2946, allocations: 158.2 kB / 413.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.2948, allocations: 282.6 kB / 413.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2948, allocations: 25.7 kB / 413.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.2949, allocations: 128.8 kB / 413.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2949, allocations: 7.812 kB / 413.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.295, allocations: 37.7 kB / 414 MB, free: 20.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.2951, allocations: 338.8 kB / 414.3 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.2951, allocations: 16 kB / 414.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.2952, allocations: 87.64 kB / 414.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2953, allocations: 93.88 kB / 414.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2953, allocations: 8.031 kB / 414.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001777/0.2955, allocations: 133.2 kB / 414.6 MB, free: 19.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2955, allocations: 4 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2956, allocations: 4 kB / 414.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2956, allocations: 4 kB / 414.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.2956, allocations: 8 kB / 414.7 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2957, allocations: 7.984 kB / 414.7 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.2957, allocations: 16.06 kB / 414.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2957, allocations: 8 kB / 414.7 MB, free: 19.79 MB / 298.7 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.0001014/0.2959, allocations: 155.7 kB / 414.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.2959, allocations: 77.34 kB / 414.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.296, allocations: 25.7 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.296, allocations: 4 kB / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.296, allocations: 0 / 415 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.296, allocations: 8.031 kB / 415 MB, free: 19.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2962, allocations: 225.6 kB / 415.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2962, allocations: 4 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.2962, allocations: 4.312 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2962, allocations: 3.938 kB / 415.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2962, allocations: 19.92 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2962, allocations: 0 / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2962, allocations: 0 / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.2966, allocations: 0.7751 MB / 416 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.2967, allocations: 116.8 kB / 416.1 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.2967, allocations: 3.938 kB / 416.1 MB, free: 18.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.2968, allocations: 8 kB / 416.1 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.2969, allocations: 11.98 kB / 416.1 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2969, allocations: 4 kB / 416.1 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.297, allocations: 206 kB / 416.3 MB, free: 18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.297, allocations: 0 / 416.3 MB, free: 18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.2974, allocations: 31.94 kB / 416.4 MB, free: 17.97 MB / 298.7 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.000843/0.2982, allocations: 436.8 kB / 416.8 MB, free: 17.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2984, allocations: 79.91 kB / 416.9 MB, free: 17.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2984, allocations: 0 / 416.9 MB, free: 17.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-05/0.2985, allocations: 27.92 kB / 416.9 MB, free: 17.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2989, allocations: 68.55 kB / 417 MB, free: 17.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.2995, allocations: 0.5187 MB / 417.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2997, allocations: 0.7323 MB / 418.2 MB, free: 16.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.2997, allocations: 29.53 kB / 418.2 MB, free: 16.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2998, allocations: 19.44 kB / 418.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2998, allocations: 0 / 418.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of Templates: time 0.005013/0.3048, allocations: 2.624 MB / 420.9 MB, free: 13.55 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches