Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.0009877/0.0009877, 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.001274/0.001274, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.527 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.062e-05, allocations: 5.406 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002861/0.002892, allocations: 1.944 MB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004416, allocations: 1.18 MB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.004559, allocations: 7.938 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.005171, allocations: 159.4 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.005516, allocations: 159.2 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.005954, allocations: 167.4 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.006186, allocations: 199.3 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.0063, allocations: 17.8 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.006503, allocations: 99.78 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.00661, allocations: 67.8 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.006632, allocations: 12 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.006773, allocations: 67.77 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.006841, allocations: 47.83 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.006899, allocations: 31.88 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.007161, allocations: 155.5 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007165, allocations: 0 / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007167, allocations: 3.938 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007172, allocations: 3.938 kB / 277.3 MB, free: 13.39 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000585/0.007757, allocations: 0.5401 MB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.007795, allocations: 15.98 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.007858, allocations: 28.8 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.008111, allocations: 228.3 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.008128, allocations: 4.375 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.008144, allocations: 12.36 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.008403, allocations: 136.6 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.008409, allocations: 192 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.008422, allocations: 8.375 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.00843, allocations: 3.938 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.723e-05/0.008477, allocations: 23.92 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.008876, allocations: 347 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.009019, allocations: 113.3 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.009063, allocations: 39.05 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.009083, allocations: 7.938 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.009191, allocations: 76.98 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.009192, allocations: 0 / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002368/0.009429, allocations: 117.5 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.009482, allocations: 114.8 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.009676, allocations: 284.3 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.009693, allocations: 29.7 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.009767, allocations: 170.8 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.009786, allocations: 7.906 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.009829, allocations: 43.64 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.009954, allocations: 0.5001 MB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.009979, allocations: 7.984 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.01003, allocations: 68.75 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.047e-05/0.01008, allocations: 39.62 kB / 280.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01008, allocations: 3.938 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001/0.01018, allocations: 81.53 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.0102, allocations: 11.98 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.0102, allocations: 3.938 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01022, allocations: 4.062 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.01028, allocations: 11.94 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01029, allocations: 0 / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.01032, allocations: 4 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.01033, allocations: 4 kB / 280.3 MB, free: 10.02 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.098e-05/0.01041, allocations: 168.5 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.01047, allocations: 69.44 kB / 280.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.01061, allocations: 95.44 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01061, allocations: 0 / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01062, allocations: 4.062 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01062, allocations: 4 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.01076, allocations: 172.5 kB / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01076, allocations: 0 / 280.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.01079, allocations: 11.94 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.01079, allocations: 7.938 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.0108, allocations: 3.984 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.0108, allocations: 0 / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.0108, allocations: 4 kB / 280.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.01094, allocations: 159.8 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.01099, allocations: 43.78 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01101, allocations: 0 / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.01105, allocations: 12.05 kB / 281.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01109, allocations: 8 kB / 281.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.0111, allocations: 7.984 kB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.01121, allocations: 205.1 kB / 281.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 281.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001779/0.01139, allocations: 27.94 kB / 281.3 MB, free: 8.945 MB / 266.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009056/0.0123, allocations: 385.4 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01243, allocations: 59.52 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01243, allocations: 0 / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.01247, allocations: 27.61 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01274, allocations: 69.27 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.01315, allocations: 313.8 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.01319, allocations: 75.83 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.01324, allocations: 21.62 kB / 282.3 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.01328, allocations: 24.48 kB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01328, allocations: 0 / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Templates: time 0.004707/0.01799, allocations: 2.626 MB / 284.9 MB, free: 5.438 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.076109294081107]