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.0009328/0.0009328, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.0009641/0.0009641, allocations: 147.5 kB / 24.81 MB, free: 9.27 MB / 18.57 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 0.9974/0.9974, allocations: 173.3 MB / 201.4 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 268.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.096e-05, allocations: 6.25 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002599/0.00262, allocations: 1.905 MB / 270.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003993, allocations: 1.028 MB / 271.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.004135, allocations: 7.938 kB / 271.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.004672, allocations: 155.4 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.004913, allocations: 127.4 kB / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.005332, allocations: 199.2 kB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.005541, allocations: 183.5 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.005634, allocations: 21.78 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.005749, allocations: 99.72 kB / 272.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.005848, allocations: 63.8 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.005869, allocations: 8 kB / 272.2 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005977, allocations: 59.84 kB / 272.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.006036, allocations: 55.83 kB / 272.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.006078, allocations: 31.88 kB / 272.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.006274, allocations: 155.4 kB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.006276, allocations: 0 / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006277, allocations: 0 / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.00628, allocations: 4 kB / 272.5 MB, free: 2.094 MB / 250.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.0004887/0.006769, allocations: 0.54 MB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.006805, allocations: 8.031 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.006853, allocations: 28.83 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.007064, allocations: 224.4 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.007078, allocations: 8.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.00709, allocations: 8.375 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.007281, allocations: 128.6 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.007289, allocations: 3.938 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.007296, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.007301, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.007332, allocations: 23.92 kB / 273.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.007615, allocations: 311.7 kB / 273.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.007737, allocations: 109.3 kB / 273.9 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.007777, allocations: 42.98 kB / 273.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.007794, allocations: 0 / 273.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.00788, allocations: 72.98 kB / 274 MB, free: 416 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.007882, allocations: 4 kB / 274 MB, free: 412 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001722/0.008054, allocations: 105.5 kB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.008098, allocations: 114.7 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.008268, allocations: 284.1 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.008286, allocations: 33.7 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.008356, allocations: 162.8 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.008377, allocations: 19.83 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.008412, allocations: 31.36 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.008543, allocations: 0.4962 MB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.008559, allocations: 12.22 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.008601, allocations: 61.02 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.008647, allocations: 43.36 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.008656, allocations: 4 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.963e-05/0.008746, allocations: 81.42 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.008758, allocations: 4 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008761, allocations: 0 / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008772, allocations: 4 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.774e-05/0.00882, allocations: 11.94 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.008823, allocations: 4.062 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.008857, allocations: 11.98 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.008862, allocations: 0 / 275.4 MB, free: 14.82 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 7.89e-05/0.008941, allocations: 160.6 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.00899, allocations: 69.47 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.009101, allocations: 83.45 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.009103, allocations: 4 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009105, allocations: 0 / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.00911, allocations: 3.984 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.009215, allocations: 149.2 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009216, allocations: 0 / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.009235, allocations: 7.938 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.009238, allocations: 7.938 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.009245, allocations: 4 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.009246, allocations: 4 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009248, allocations: 4.047 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.009356, allocations: 135.7 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.009412, allocations: 35.78 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.009437, allocations: 11.92 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.009481, allocations: 4 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.009513, allocations: 11.98 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.009526, allocations: 7.938 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.009654, allocations: 193.1 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009654, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.009899, allocations: 27.94 kB / 276.4 MB, free: 13.84 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.00108/0.01098, allocations: 406.5 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01111, allocations: 39.61 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01111, allocations: 0 / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.01115, allocations: 27.66 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01149, allocations: 68.11 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.01194, allocations: 294.3 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.01199, allocations: 75.83 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.01205, allocations: 21.47 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01216, allocations: 102.2 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01216, allocations: 0 / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of Templates: time 0.004493/0.01665, allocations: 2.853 MB / 280.2 MB, free: 10.1 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.705088234040886]