Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001381/0.001381, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001445/0.001445, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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.484/1.484, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.148e-05/5.374e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.005286/0.005339, allocations: 1.878 MB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.008734, allocations: 1.219 MB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.008863, allocations: 3.938 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.009289, allocations: 71.55 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.009815, allocations: 139.3 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.01075, allocations: 223.2 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.01115, allocations: 187.4 kB / 275.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.01128, allocations: 17.81 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.01151, allocations: 99.72 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.01169, allocations: 75.77 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.01173, allocations: 12 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.01197, allocations: 75.83 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.01209, allocations: 51.84 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.0122, allocations: 47.78 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.01275, allocations: 243.2 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.01275, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01275, allocations: 7.938 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.01276, allocations: 0 / 276.5 MB, free: 13.44 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.001086/0.01385, allocations: 466.6 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.01389, allocations: 15.98 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.01401, allocations: 28.8 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.01464, allocations: 244.7 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.01467, allocations: 8.375 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.01469, allocations: 4.375 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.01523, allocations: 173 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01524, allocations: 4.188 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.01526, allocations: 4.375 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.01527, allocations: 3.938 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.01546, allocations: 47.91 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.01625, allocations: 322 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.01666, allocations: 119.9 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.01682, allocations: 42.56 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.01686, allocations: 7.938 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.01711, allocations: 79.36 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.01712, allocations: 0 / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006702/0.01779, allocations: 169.4 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.01793, allocations: 136.5 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.01854, allocations: 333.9 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.01857, allocations: 29.69 kB / 278.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.01875, allocations: 132.1 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01878, allocations: 11.91 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.01887, allocations: 29.7 kB / 278.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.01912, allocations: 330.8 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01923, allocations: 24.25 kB / 279.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.01945, allocations: 114.8 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.01969, allocations: 57.7 kB / 279.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01969, allocations: 4 kB / 279.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003726/0.02006, allocations: 113.4 kB / 279.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.02009, allocations: 8 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02009, allocations: 3.938 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.02011, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.02025, allocations: 15.98 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.02026, allocations: 4.062 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.02038, allocations: 8 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.0204, allocations: 3.984 kB / 279.6 MB, free: 10.13 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,table.y) * 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.0002361/0.02063, allocations: 154 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.02079, allocations: 73.48 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.02122, allocations: 127.4 kB / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02123, allocations: 0 / 279.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.02124, allocations: 3.984 kB / 279.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.02125, allocations: 8.062 kB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.02155, allocations: 177.3 kB / 280.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02155, allocations: 0 / 280.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.02165, allocations: 15.98 kB / 280.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.02166, allocations: 3.938 kB / 280.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.02168, allocations: 4 kB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.02168, allocations: 4 kB / 280.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.02169, allocations: 0 / 280.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.02213, allocations: 170.6 kB / 280.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.02227, allocations: 43.77 kB / 280.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.02232, allocations: 8 kB / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.02243, allocations: 0 / 280.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.02251, allocations: 11.98 kB / 280.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.02254, allocations: 7.984 kB / 280.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004339/0.02297, allocations: 253.1 kB / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02297, allocations: 0 / 280.6 MB, free: 9.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004639/0.02343, allocations: 35.94 kB / 280.6 MB, free: 8.969 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,table.y,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.002827/0.02626, allocations: 451.1 kB / 281.1 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.02659, allocations: 75.89 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.02659, allocations: 0 / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.02673, allocations: 31.97 kB / 281.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.02737, allocations: 71.92 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.02844, allocations: 385.8 kB / 281.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.02866, allocations: 140.2 kB / 281.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.02878, allocations: 25.47 kB / 281.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.02886, allocations: 20.5 kB / 281.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02886, allocations: 0 / 281.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of Templates: time 0.01049/0.03935, allocations: 3.037 MB / 284.8 MB, free: 4.895 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.279933137935586]