Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.00227/0.00227, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002642/0.002642, allocations: 153.5 kB / 24.26 MB, free: 172 kB / 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 1.547/1.547, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.332e-05, allocations: 6.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00316/0.003193, allocations: 1.557 MB / 268.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004209, allocations: 0.4945 MB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.004283, allocations: 3.938 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/0.004339, allocations: 7.875 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.0045, allocations: 7.984 kB / 269.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.004783, allocations: 51.7 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.004901, allocations: 47.84 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.005004, allocations: 12.17 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.005103, allocations: 27.86 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.005162, allocations: 23.91 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.005187, allocations: 4 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.005203, allocations: 4 kB / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.005257, allocations: 15.92 kB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.005289, allocations: 11.94 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.00544, allocations: 51.8 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.005443, allocations: 0 / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005444, allocations: 0 / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005449, allocations: 0 / 269.6 MB, free: 4.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005633/0.006012, allocations: 404 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.006049, allocations: 8.922 kB / 270 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.006106, allocations: 24.84 kB / 270 MB, free: 3.941 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.006347, allocations: 152.3 kB / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.00636, allocations: 4.375 kB / 270.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.006376, allocations: 8.375 kB / 270.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.00665, allocations: 112.9 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.006658, allocations: 192 / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.006669, allocations: 4.125 kB / 270.3 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006674, allocations: 4 kB / 270.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.006738, allocations: 12 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.007194, allocations: 279.5 kB / 270.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.007323, allocations: 58.17 kB / 270.7 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.007382, allocations: 31.38 kB / 270.7 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.007404, allocations: 4 kB / 270.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.00744, allocations: 37.33 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.007441, allocations: 0 / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.00769, allocations: 69.56 kB / 270.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.007757, allocations: 81.11 kB / 270.9 MB, free: 2.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.007934, allocations: 201.9 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.007953, allocations: 25.7 kB / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.008041, allocations: 138.9 kB / 271.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.00806, allocations: 11.88 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.008101, allocations: 19.38 kB / 271.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.00836, allocations: 0.4884 MB / 271.8 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.008396, allocations: 4 kB / 271.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.008422, allocations: 12.23 kB / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.00848, allocations: 19.62 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.008484, allocations: 4 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.966e-05/0.008584, allocations: 45.62 kB / 271.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008599, allocations: 8 kB / 271.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.008602, allocations: 0 / 271.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.008615, allocations: 0 / 271.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.008679, allocations: 7.984 kB / 271.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.008684, allocations: 0 / 271.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.008716, allocations: 8.047 kB / 271.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.008723, allocations: 0 / 271.9 MB, free: 1.902 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001069/0.00883, allocations: 156.6 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.0089, allocations: 45.58 kB / 272.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.008934, allocations: 15.69 kB / 272.1 MB, free: 1.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.008939, allocations: 4 kB / 272.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008942, allocations: 0 / 272.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008944, allocations: 0 / 272.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.009134, allocations: 136.6 kB / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009135, allocations: 0 / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.009182, allocations: 12.02 kB / 272.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009184, allocations: 0 / 272.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.009193, allocations: 7.938 kB / 272.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.009197, allocations: 4 kB / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009198, allocations: 0 / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.009415, allocations: 211.5 kB / 272.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.009451, allocations: 11.98 kB / 272.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.009469, allocations: 3.938 kB / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.009532, allocations: 4 kB / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.009566, allocations: 4.031 kB / 272.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009569, allocations: 0 / 272.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.009684, allocations: 162.2 kB / 272.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009684, allocations: 0 / 272.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.009892, allocations: 4 kB / 272.6 MB, free: 1.062 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001074/0.009999, allocations: 95.25 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.01014, allocations: 23.67 kB / 272.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01014, allocations: 0 / 272.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.01019, allocations: 23.69 kB / 272.8 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01054, allocations: 27.25 kB / 272.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.01089, allocations: 165.3 kB / 273 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.778e-05/0.01098, allocations: 67.34 kB / 273 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.334e-05/0.01102, allocations: 7.984 kB / 273 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.01106, allocations: 12.5 kB / 273 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01106, allocations: 160 / 273 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of Templates: time 0.003561/0.01462, allocations: 0.638 MB / 273.7 MB, free: 15.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.335916449083015]