Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 184.4 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 47.91 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2927, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004484/0.2972, allocations: 1.874 MB / 425.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2992, allocations: 1.013 MB / 426.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2994, allocations: 7.938 kB / 426.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.3, allocations: 151.5 kB / 426.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.3004, allocations: 115.6 kB / 427 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.301, allocations: 201.6 kB / 427.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.3013, allocations: 183.5 kB / 427.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3014, allocations: 21.53 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3015, allocations: 83.62 kB / 427.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3017, allocations: 75.67 kB / 427.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3017, allocations: 8 kB / 427.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3019, allocations: 63.91 kB / 427.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.3019, allocations: 43.83 kB / 427.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.154e-05/0.302, allocations: 51.67 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3024, allocations: 205.9 kB / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3024, allocations: 0 / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3024, allocations: 0 / 427.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3024, allocations: 0 / 427.9 MB, free: 10.4 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.0008212/0.3032, allocations: 442.8 kB / 428.3 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3033, allocations: 12.03 kB / 428.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.3033, allocations: 20.8 kB / 428.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.3037, allocations: 209.1 kB / 428.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3037, allocations: 8.359 kB / 428.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3037, allocations: 12.12 kB / 428.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3041, allocations: 145.5 kB / 428.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3041, allocations: 0 / 428.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3041, allocations: 4 kB / 428.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3041, allocations: 8 kB / 428.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3042, allocations: 31.92 kB / 428.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.3047, allocations: 302 kB / 429.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.305, allocations: 111.9 kB / 429.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.3051, allocations: 42.56 kB / 429.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3051, allocations: 0 / 429.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.3053, allocations: 87.31 kB / 429.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3053, allocations: 0 / 429.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004006/0.3057, allocations: 141.5 kB / 429.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.3057, allocations: 110.8 kB / 429.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.3061, allocations: 264.9 kB / 429.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3061, allocations: 25.7 kB / 429.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.3062, allocations: 120.1 kB / 429.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3062, allocations: 19.83 kB / 430 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.3062, allocations: 25.72 kB / 430 MB, free: 8.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3064, allocations: 339 kB / 430.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.3065, allocations: 23.98 kB / 430.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3066, allocations: 86.84 kB / 430.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3068, allocations: 80.22 kB / 430.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3068, allocations: 0 / 430.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.307, allocations: 121.5 kB / 430.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.307, allocations: 4 kB / 430.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.307, allocations: 0 / 430.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.307, allocations: 4 kB / 430.6 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.3071, allocations: 15.98 kB / 430.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3071, allocations: 7.938 kB / 430.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.3072, allocations: 15.83 kB / 430.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3072, allocations: 4 kB / 430.7 MB, free: 7.34 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.0001334/0.3073, allocations: 141.8 kB / 430.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.3074, allocations: 69.55 kB / 430.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.3077, allocations: 111.7 kB / 431 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3077, allocations: 0 / 431 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3077, allocations: 4 kB / 431 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3077, allocations: 4 kB / 431 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3079, allocations: 165.3 kB / 431.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3079, allocations: 0 / 431.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.3079, allocations: 11.94 kB / 431.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.3079, allocations: 0 / 431.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.308, allocations: 4 kB / 431.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.308, allocations: 8.062 kB / 431.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.308, allocations: 0 / 431.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3082, allocations: 166.5 kB / 431.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.3083, allocations: 27.83 kB / 431.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3083, allocations: 8 kB / 431.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.3084, allocations: 7.984 kB / 431.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.3084, allocations: 7.984 kB / 431.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3085, allocations: 8 kB / 431.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.3087, allocations: 188.5 kB / 431.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3087, allocations: 0 / 431.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3089, allocations: 36.08 kB / 431.6 MB, free: 6.312 MB / 334.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.001677/0.3106, allocations: 448 kB / 432.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3108, allocations: 75.78 kB / 432.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3108, allocations: 0 / 432.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.3109, allocations: 27.98 kB / 432.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3113, allocations: 68.05 kB / 432.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.3119, allocations: 347.2 kB / 432.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.312, allocations: 123.2 kB / 432.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.3121, allocations: 15.44 kB / 432.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3121, allocations: 0 / 432.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Templates: time 0.005483/0.3176, allocations: 2.653 MB / 435.3 MB, free: 2.715 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.474064519628882]