Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 4.1.0-beta.om/package.mo", uses=false) 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 207.7 kB / 18.79 MB, free: 4.102 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.628/1.628, allocations: 230.4 MB / 250 MB, free: 8.957 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.001897/0.001897, allocations: 63.84 kB / 367.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 53.3 MB / 420.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003999/0.3242, allocations: 1.917 MB / 422.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3266, allocations: 1.22 MB / 423.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3267, allocations: 7.938 kB / 423.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.3274, allocations: 151.5 kB / 423.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.3279, allocations: 153.8 kB / 424.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.3285, allocations: 171.4 kB / 424.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.3288, allocations: 191.5 kB / 424.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3289, allocations: 21.55 kB / 424.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.329, allocations: 75.69 kB / 424.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3292, allocations: 83.61 kB / 424.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.3292, allocations: 11.94 kB / 424.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3294, allocations: 51.97 kB / 424.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.3295, allocations: 43.78 kB / 424.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3296, allocations: 79.47 kB / 424.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.33, allocations: 211.1 kB / 425 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.33, allocations: 4 kB / 425 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.33, allocations: 0 / 425 MB, free: 3.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.33, allocations: 0 / 425 MB, free: 3.941 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.001047/0.3311, allocations: 0.5155 MB / 425.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3311, allocations: 8.031 kB / 425.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.3312, allocations: 24.8 kB / 425.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3317, allocations: 278.9 kB / 425.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3317, allocations: 4.375 kB / 425.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3317, allocations: 12.12 kB / 425.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.3321, allocations: 138 kB / 426 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3321, allocations: 4 kB / 426 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3321, allocations: 11.94 kB / 426 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3321, allocations: 0 / 426 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3322, allocations: 35.91 kB / 426 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.3329, allocations: 362.4 kB / 426.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3331, allocations: 111.8 kB / 426.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.3332, allocations: 42.56 kB / 426.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3333, allocations: 4 kB / 426.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.3335, allocations: 87.44 kB / 426.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3335, allocations: 0 / 426.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004641/0.3339, allocations: 141.4 kB / 426.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.3341, allocations: 136.5 kB / 426.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.3345, allocations: 269.2 kB / 427.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3345, allocations: 29.7 kB / 427.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3346, allocations: 116.1 kB / 427.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.3346, allocations: 19.89 kB / 427.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3347, allocations: 29.67 kB / 427.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3349, allocations: 334.8 kB / 427.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.3349, allocations: 16 kB / 427.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.335, allocations: 77.92 kB / 427.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3352, allocations: 72.23 kB / 427.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3352, allocations: 0 / 427.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002208/0.3354, allocations: 117.5 kB / 427.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3354, allocations: 10.66 kB / 428 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3355, allocations: 0 / 428 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3355, allocations: 0 / 428 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.3356, allocations: 19.92 kB / 428 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3356, allocations: 3.938 kB / 428 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.3356, allocations: 23.83 kB / 428 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3357, allocations: 0 / 428 MB, free: 0.6055 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,sample1.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 (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.0001437/0.3358, allocations: 154.2 kB / 428.2 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.3359, allocations: 61.53 kB / 428.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.336, allocations: 25.7 kB / 428.2 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.336, allocations: 4 kB / 428.2 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.336, allocations: 4 kB / 428.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.336, allocations: 3.938 kB / 428.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.3362, allocations: 229.5 kB / 428.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3362, allocations: 0 / 428.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.3362, allocations: 8.062 kB / 428.5 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3362, allocations: 3.938 kB / 428.5 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3363, allocations: 4 kB / 428.5 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3363, allocations: 0 / 428.5 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3363, allocations: 0 / 428.5 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3365, allocations: 162.6 kB / 428.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3366, allocations: 109 kB / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.3367, allocations: 4 kB / 428.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.3367, allocations: 7.984 kB / 428.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3368, allocations: 4 kB / 428.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3368, allocations: 7.938 kB / 428.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.337, allocations: 204.5 kB / 429 MB, free: 15.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.337, allocations: 0 / 429 MB, free: 15.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3373, allocations: 27.92 kB / 429 MB, free: 15.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,sample1.u,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.001577/0.3389, allocations: 425.2 kB / 429.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.3391, allocations: 71.78 kB / 429.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3391, allocations: 0 / 429.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.3392, allocations: 23.98 kB / 429.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3397, allocations: 61.38 kB / 429.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.3403, allocations: 320.9 kB / 429.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3407, allocations: 0.728 MB / 430.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.196e-05/0.3408, allocations: 29.52 kB / 430.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3409, allocations: 19.44 kB / 430.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3409, allocations: 0 / 430.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Templates: time 0.006861/0.3477, allocations: 2.513 MB / 433.2 MB, free: 11.44 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches