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.001264/0.001264, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001363/0.001363, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001837/0.001837, allocations: 63.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2977, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003731/0.3015, allocations: 1.93 MB / 434.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3038, allocations: 1.231 MB / 435.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.304, allocations: 11.94 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.3048, allocations: 151.5 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000545/0.3053, allocations: 155.4 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.306, allocations: 167.1 kB / 436.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.3063, allocations: 199.4 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3065, allocations: 29.67 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3066, allocations: 79.64 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3068, allocations: 75.67 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3068, allocations: 15.94 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.307, allocations: 63.89 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.3071, allocations: 39.84 kB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.3071, allocations: 67.55 kB / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3075, allocations: 216.4 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3075, allocations: 0 / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3075, allocations: 0 / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3075, allocations: 3.938 kB / 436.8 MB, free: 2.352 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.0008208/0.3084, allocations: 458.7 kB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3084, allocations: 8.031 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3084, allocations: 24.8 kB / 437.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3088, allocations: 209.1 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3088, allocations: 8.375 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3088, allocations: 12.3 kB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3092, allocations: 151 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3092, allocations: 7.984 kB / 437.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3092, allocations: 8 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3092, allocations: 0 / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3093, allocations: 31.98 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3099, allocations: 333.4 kB / 438.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3101, allocations: 111.9 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.3102, allocations: 38.56 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3102, allocations: 4 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.3104, allocations: 79.31 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3104, allocations: 0 / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004049/0.3108, allocations: 141.5 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.3109, allocations: 132.5 kB / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.3112, allocations: 273 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3112, allocations: 29.7 kB / 438.9 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3113, allocations: 116.5 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3114, allocations: 23.8 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.3114, allocations: 33.67 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3116, allocations: 330.8 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.3116, allocations: 20 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3117, allocations: 73.92 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3119, allocations: 76.27 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3119, allocations: 0 / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002214/0.3121, allocations: 117.5 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3121, allocations: 8 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3121, allocations: 3.938 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3122, allocations: 0 / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.3122, allocations: 15.98 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3122, allocations: 3.938 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.3123, allocations: 12.25 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3123, allocations: 4 kB / 439.7 MB, free: 15.22 MB / 350.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.0001444/0.3125, allocations: 154.5 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.3126, allocations: 69.52 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3128, allocations: 107.4 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3128, allocations: 4 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3128, allocations: 0 / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3128, allocations: 0 / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.313, allocations: 204.5 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.313, allocations: 0 / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.3131, allocations: 4 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.3131, allocations: 0 / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3131, allocations: 8.062 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3131, allocations: 3.938 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3131, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3134, allocations: 158.6 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.3134, allocations: 27.84 kB / 440.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.3135, allocations: 8 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.3135, allocations: 8 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3136, allocations: 3.984 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3136, allocations: 8 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3138, allocations: 200.5 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3138, allocations: 0 / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3141, allocations: 31.92 kB / 440.7 MB, free: 14.15 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001631/0.3157, allocations: 432.4 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.316, allocations: 67.84 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.316, allocations: 0 / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.316, allocations: 19.98 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3165, allocations: 65.42 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.3171, allocations: 354.8 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3175, allocations: 0.7281 MB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.3176, allocations: 23.44 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3176, allocations: 0 / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005281/0.3228, allocations: 2.673 MB / 445 MB, free: 9.898 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.600203544832766]