Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.665e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003896/0.003932, allocations: 1.893 MB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.006372, allocations: 1.145 MB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.006498, allocations: 0 / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.007245, allocations: 167.3 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.007729, allocations: 155.3 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.008268, allocations: 171.3 kB / 275.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.008578, allocations: 195.4 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.008686, allocations: 17.8 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.008878, allocations: 103.7 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.009019, allocations: 67.8 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.009048, allocations: 8 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.009208, allocations: 67.83 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.009306, allocations: 47.83 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.009383, allocations: 35.86 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.009773, allocations: 211.2 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.009778, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.009779, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009785, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.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.0009046/0.01069, allocations: 450.7 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01073, allocations: 8.031 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.01081, allocations: 28.8 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.0112, allocations: 224.8 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.01122, allocations: 4.375 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.01124, allocations: 8.375 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.01161, allocations: 138.4 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01163, allocations: 11.92 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.01164, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.01164, allocations: 4 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.01177, allocations: 39.92 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.01233, allocations: 290.2 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.01259, allocations: 111.8 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.01269, allocations: 38.56 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01272, allocations: 4 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.01289, allocations: 79.33 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.01289, allocations: 4 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.01334, allocations: 153.5 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.01343, allocations: 110.8 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.01403, allocations: 273.9 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.01407, allocations: 33.7 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01418, allocations: 120.1 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.01421, allocations: 19.91 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.01426, allocations: 29.67 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01446, allocations: 335.1 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.01452, allocations: 15.98 kB / 279.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01463, allocations: 68.27 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01476, allocations: 57.59 kB / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01476, allocations: 0 / 279.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002074/0.01496, allocations: 97.58 kB / 279.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01498, allocations: 8 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01499, allocations: 0 / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.01501, allocations: 0 / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.0151, allocations: 19.98 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.01511, allocations: 4 kB / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.01517, allocations: 0 / 279.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01518, allocations: 8 kB / 279.3 MB, free: 10.55 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 0.0001604/0.01534, allocations: 137.8 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.01546, allocations: 73.48 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.01574, allocations: 115.4 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01574, allocations: 0 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01575, allocations: 4.062 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01575, allocations: 4 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.01598, allocations: 169.1 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01598, allocations: 320 / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.01602, allocations: 11.94 kB / 279.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01603, allocations: 0 / 279.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.01604, allocations: 11.98 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01604, allocations: 3.938 kB / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01605, allocations: 0 / 279.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.01636, allocations: 170.6 kB / 280 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.01644, allocations: 31.83 kB / 280 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.01647, allocations: 8 kB / 280 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.01654, allocations: 8 kB / 280 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.01659, allocations: 3.984 kB / 280.1 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.01661, allocations: 4 kB / 280.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.01685, allocations: 205.2 kB / 280.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01685, allocations: 0 / 280.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01712, allocations: 27.94 kB / 280.3 MB, free: 9.5 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.002019/0.01914, allocations: 447.7 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.01936, allocations: 71.89 kB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01936, allocations: 0 / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.01945, allocations: 27.92 kB / 280.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.01989, allocations: 63.06 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.02059, allocations: 338.6 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.02073, allocations: 119.6 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.02082, allocations: 25.62 kB / 281.4 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.02088, allocations: 24.48 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02088, allocations: 0 / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.007225/0.0281, allocations: 2.624 MB / 284 MB, free: 5.961 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.43125902407337]