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.001501/0.001501, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001476/0.001476, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.001991/0.001991, allocations: 67.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004008/0.2922, allocations: 1.88 MB / 433.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2945, allocations: 1.156 MB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2946, allocations: 7.938 kB / 434.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.2953, allocations: 151.5 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.2958, allocations: 163.4 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.2963, allocations: 166.9 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.2966, allocations: 191.5 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2968, allocations: 25.53 kB / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2969, allocations: 83.62 kB / 435.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.297, allocations: 75.62 kB / 435.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.2971, allocations: 12 kB / 435.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.2972, allocations: 59.94 kB / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.2973, allocations: 39.84 kB / 435.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.2974, allocations: 55.61 kB / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2977, allocations: 217.5 kB / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2977, allocations: 0 / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2977, allocations: 0 / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2977, allocations: 0 / 435.9 MB, free: 2.262 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.0008131/0.2986, allocations: 446.7 kB / 436.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2986, allocations: 15.98 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.2987, allocations: 28.78 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.299, allocations: 213.1 kB / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.299, allocations: 384 / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2991, allocations: 12.38 kB / 436.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.2994, allocations: 150.2 kB / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2994, allocations: 0 / 436.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.2994, allocations: 4 kB / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2994, allocations: 3.938 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2996, allocations: 39.91 kB / 436.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.3, allocations: 294.1 kB / 437.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3003, allocations: 103.9 kB / 437.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.356e-05/0.3004, allocations: 54.5 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3004, allocations: 4 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3005, allocations: 71.38 kB / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3005, allocations: 0 / 437.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003806/0.3009, allocations: 149.4 kB / 437.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.301, allocations: 106.8 kB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3013, allocations: 277 kB / 437.8 MB, free: 128 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3013, allocations: 33.94 kB / 437.9 MB, free: 88 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3014, allocations: 120.1 kB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3015, allocations: 11.91 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.3015, allocations: 33.66 kB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3017, allocations: 334.7 kB / 438.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.3017, allocations: 23.98 kB / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3019, allocations: 90.84 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.302, allocations: 80.25 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.302, allocations: 0 / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.3022, allocations: 117.5 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3022, allocations: 4 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3022, allocations: 0 / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3022, allocations: 4 kB / 438.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.3023, allocations: 19.92 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3023, allocations: 4.312 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.3024, allocations: 8.078 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3024, allocations: 12 kB / 438.7 MB, free: 15.18 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.0001356/0.3025, allocations: 146.5 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.3026, allocations: 69.47 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3029, allocations: 115.4 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3029, allocations: 4 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3029, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3029, allocations: 0 / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3031, allocations: 177.1 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3031, allocations: 4.062 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3032, allocations: 7.984 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3032, allocations: 4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3032, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3032, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3032, allocations: 4 kB / 439.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.3035, allocations: 162.6 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.3036, allocations: 31.84 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.3036, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.3036, allocations: 7.984 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3037, allocations: 8 kB / 439.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3037, allocations: 7.984 kB / 439.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.3039, allocations: 204.5 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3039, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3042, allocations: 31.92 kB / 439.7 MB, free: 14.13 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 (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.001664/0.3058, allocations: 446.1 kB / 440.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.306, allocations: 68.09 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3061, allocations: 4.062 kB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.3061, allocations: 23.98 kB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3065, allocations: 78.11 kB / 440.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.3071, allocations: 321.7 kB / 440.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3073, allocations: 123.6 kB / 440.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.3073, allocations: 21.62 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.3074, allocations: 19.44 kB / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3074, allocations: 0 / 440.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.006582/0.314, allocations: 2.737 MB / 443.5 MB, free: 10.45 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/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_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: 4.594654567539692]