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.001313/0.001313, allocations: 85.39 kB / 20.68 MB, free: 1.035 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.001463/0.001463, allocations: 161.8 kB / 23.96 MB, free: 4.164 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.476/1.476, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.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 1.472e-06/1.472e-06, allocations: 0 / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.841e-05, allocations: 2.281 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003423/0.003451, allocations: 1.893 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.005782, allocations: 1.154 MB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005916, allocations: 6.75 kB / 328.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.006568, allocations: 162.7 kB / 328.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.007056, allocations: 156.5 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.007607, allocations: 178.2 kB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.007909, allocations: 191.9 kB / 328.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.008024, allocations: 20.09 kB / 328.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.008213, allocations: 112.3 kB / 328.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.008351, allocations: 64.5 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.008381, allocations: 9.812 kB / 328.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.008538, allocations: 55.98 kB / 329 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.324e-05/0.008621, allocations: 48.84 kB / 329 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.008692, allocations: 34.03 kB / 329.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.009077, allocations: 216.7 kB / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00908, allocations: 0 / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.009081, allocations: 3.938 kB / 329.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.009091, allocations: 0 / 329.3 MB, free: 13.94 MB / 302.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.0008845/0.009976, allocations: 450.1 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.01002, allocations: 18.03 kB / 329.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.01009, allocations: 21.67 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.01047, allocations: 210.4 kB / 330 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.01049, allocations: 6.562 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.01051, allocations: 4.938 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.01089, allocations: 146.9 kB / 330.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.0109, allocations: 2.312 kB / 330.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.01091, allocations: 384 / 330.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01092, allocations: 5.219 kB / 330.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.01103, allocations: 36.53 kB / 330.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.01153, allocations: 296.3 kB / 330.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.01179, allocations: 104.8 kB / 330.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.01188, allocations: 49.22 kB / 330.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.01191, allocations: 6.25 kB / 330.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.01208, allocations: 75.08 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.01208, allocations: 0 / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004158/0.0125, allocations: 142.8 kB / 330.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.01258, allocations: 109.2 kB / 330.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.01292, allocations: 285.9 kB / 331.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.01295, allocations: 30.98 kB / 331.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01305, allocations: 116.2 kB / 331.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.01307, allocations: 19.56 kB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.01313, allocations: 32.88 kB / 331.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.01329, allocations: 327.4 kB / 331.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.01336, allocations: 19.27 kB / 331.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.01345, allocations: 70.23 kB / 331.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01359, allocations: 52.52 kB / 331.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01359, allocations: 0 / 331.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002072/0.0138, allocations: 102.9 kB / 332 MB, free: 11.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01381, allocations: 13.27 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01382, allocations: 0 / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01383, allocations: 1 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.01391, allocations: 10.38 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01392, allocations: 160 / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.01398, allocations: 7.656 kB / 332 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01399, allocations: 10.39 kB / 332 MB, free: 11.65 MB / 302.1 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 0.0001426/0.01414, allocations: 139.5 kB / 332.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.01423, allocations: 65.12 kB / 332.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01451, allocations: 121.3 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01451, allocations: 2.562 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01452, allocations: 1.531 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01452, allocations: 3.984 kB / 332.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.01473, allocations: 163.3 kB / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01473, allocations: 0 / 332.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.01477, allocations: 14.58 kB / 332.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.01478, allocations: 5.031 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01479, allocations: 1.094 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01479, allocations: 2.156 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.01479, allocations: 9 kB / 332.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.01506, allocations: 157.8 kB / 332.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.01515, allocations: 38.03 kB / 332.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.01518, allocations: 6.344 kB / 332.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.01525, allocations: 11.53 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.01529, allocations: 3.156 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.0153, allocations: 3.969 kB / 332.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.01552, allocations: 203 kB / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01552, allocations: 0 / 332.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.01579, allocations: 33.7 kB / 333 MB, free: 10.9 MB / 302.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.001717/0.01751, allocations: 442.6 kB / 333.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01774, allocations: 62.25 kB / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01774, allocations: 0 / 333.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.01782, allocations: 24.36 kB / 333.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.01828, allocations: 67.14 kB / 333.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.01892, allocations: 326.8 kB / 333.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.01905, allocations: 116.4 kB / 334 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.01912, allocations: 25.95 kB / 334 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.01917, allocations: 18.84 kB / 334 MB, free: 10.22 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01917, allocations: 0 / 334 MB, free: 10.22 MB / 302.1 MB Notification: Performance of Templates: time 0.006884/0.02606, allocations: 2.602 MB / 336.6 MB, free: 8.895 MB / 302.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.358768478035927]