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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001767/0.001767, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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=5021,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=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.256e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003254/0.003287, allocations: 1.974 MB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.005156, allocations: 1.199 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.005334, allocations: 11.94 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.006008, allocations: 151.5 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.006407, allocations: 167.2 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.006919, allocations: 175.3 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.007208, allocations: 211.3 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.007333, allocations: 21.8 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.007497, allocations: 103.7 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.007621, allocations: 71.73 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.007647, allocations: 12 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.007792, allocations: 63.89 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.007865, allocations: 47.83 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.007928, allocations: 39.8 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.008235, allocations: 175.3 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008239, allocations: 3.938 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00824, allocations: 0 / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.008245, allocations: 4 kB / 277.4 MB, free: 13.31 MB / 266.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.0006532/0.008898, allocations: 0.5439 MB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.008935, allocations: 11.98 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.009007, allocations: 32.8 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.009316, allocations: 236.3 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.009343, allocations: 12.36 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.009359, allocations: 8.375 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.009655, allocations: 164.2 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.009665, allocations: 8.125 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.009677, allocations: 4.359 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.009687, allocations: 3.938 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.009748, allocations: 23.98 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.01016, allocations: 362.7 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.01034, allocations: 144.5 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.0104, allocations: 54.67 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.01042, allocations: 7.938 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.01054, allocations: 73.03 kB / 279.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.01054, allocations: 4 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002782/0.01082, allocations: 129.7 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.01089, allocations: 144.5 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.01113, allocations: 300.3 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.01115, allocations: 25.7 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01125, allocations: 175.1 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.01127, allocations: 15.84 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.01133, allocations: 35.36 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01146, allocations: 0.5001 MB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.01149, allocations: 7.984 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.01155, allocations: 68.75 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.01161, allocations: 39.41 kB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01161, allocations: 3.938 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.01173, allocations: 85.48 kB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01175, allocations: 10.81 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01176, allocations: 0 / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01177, allocations: 0 / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/0.01184, allocations: 16.23 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01185, allocations: 0 / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.01189, allocations: 8 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.0119, allocations: 4 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.802e-05/0.01199, allocations: 164.6 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.01207, allocations: 85.42 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.01224, allocations: 99.64 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01225, allocations: 7.938 kB / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01225, allocations: 0 / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.01226, allocations: 4 kB / 281 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.01241, allocations: 168.6 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01241, allocations: 0 / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.01244, allocations: 16.08 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01244, allocations: 7.938 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01245, allocations: 4 kB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01246, allocations: 0 / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01246, allocations: 4 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.01264, allocations: 179.2 kB / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.0127, allocations: 43.7 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01273, allocations: 8 kB / 281.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.01278, allocations: 3.984 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01282, allocations: 11.98 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01283, allocations: 4 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.01297, allocations: 213.1 kB / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01297, allocations: 0 / 281.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.01322, allocations: 27.98 kB / 281.6 MB, free: 8.621 MB / 266.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0009839/0.01421, allocations: 391.3 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01436, allocations: 55.59 kB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01436, allocations: 0 / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.0144, allocations: 35.61 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.01476, allocations: 74.77 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.01525, allocations: 337.1 kB / 282.5 MB, free: 7.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.01531, allocations: 79.98 kB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.01536, allocations: 21.62 kB / 282.6 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.01541, allocations: 20.48 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01541, allocations: 0 / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of Templates: time 0.005546/0.02095, allocations: 2.844 MB / 285.5 MB, free: 4.871 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0025082398205996]