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.001926/0.001926, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002391/0.002391, allocations: 184.3 kB / 24.45 MB, free: 3.961 MB / 14.72 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.808/1.808, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 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 0.001655/0.001655, allocations: 51.91 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2275, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002862/0.2303, allocations: 1.572 MB / 425.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.2312, allocations: 458.8 kB / 425.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.2313, allocations: 4 kB / 425.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.219e-05/0.2314, allocations: 11.86 kB / 425.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2315, allocations: 7.938 kB / 425.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2318, allocations: 55.58 kB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2319, allocations: 43.84 kB / 425.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.232, allocations: 16.17 kB / 426 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.2321, allocations: 27.8 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.2321, allocations: 15.92 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2321, allocations: 4 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.2321, allocations: 4 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.2322, allocations: 15.92 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.2322, allocations: 19.81 kB / 426 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2324, allocations: 62.41 kB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2324, allocations: 0 / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2324, allocations: 0 / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2324, allocations: 0 / 426.1 MB, free: 12.17 MB / 334.1 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.0004484/0.2328, allocations: 306 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2328, allocations: 12.03 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.2329, allocations: 8.891 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.2331, allocations: 146.3 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.2331, allocations: 384 / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2332, allocations: 8.375 kB / 426.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2334, allocations: 113.1 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2334, allocations: 0 / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2334, allocations: 0 / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2334, allocations: 0 / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.2335, allocations: 19.98 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.2338, allocations: 209.4 kB / 426.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.2339, allocations: 49.16 kB / 427 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.234, allocations: 21.77 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.234, allocations: 4 kB / 427 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.234, allocations: 34.5 kB / 427 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.234, allocations: 0 / 427 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.2342, allocations: 69.56 kB / 427.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.2343, allocations: 81.11 kB / 427.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2344, allocations: 140.7 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2345, allocations: 33.69 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.2345, allocations: 88.14 kB / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.2345, allocations: 3.938 kB / 427.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.2346, allocations: 21.67 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2347, allocations: 322.8 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.2347, allocations: 4 kB / 427.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.342e-05/0.2348, allocations: 21.7 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.2349, allocations: 37.7 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2349, allocations: 3.938 kB / 427.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.235, allocations: 49.69 kB / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.235, allocations: 4 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.235, allocations: 3.984 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.235, allocations: 4 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.2351, allocations: 11.92 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2351, allocations: 0 / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.2351, allocations: 7.953 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.2351, allocations: 4.062 kB / 427.9 MB, free: 10.15 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.6e-05/0.2352, allocations: 117.8 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.2353, allocations: 37.69 kB / 428.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.2353, allocations: 11.81 kB / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2353, allocations: 0 / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2353, allocations: 0 / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2353, allocations: 0 / 428.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2355, allocations: 133.1 kB / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2355, allocations: 0 / 428.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.2355, allocations: 4 kB / 428.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2355, allocations: 4.031 kB / 428.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.2355, allocations: 0 / 428.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.2356, allocations: 7.938 kB / 428.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2356, allocations: 0 / 428.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2357, allocations: 160.3 kB / 428.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.2358, allocations: 11.98 kB / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2358, allocations: 3.984 kB / 428.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.2358, allocations: 4 kB / 428.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.2359, allocations: 0 / 428.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2359, allocations: 8.031 kB / 428.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.313e-05/0.236, allocations: 115.2 kB / 428.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.236, allocations: 0 / 428.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.2362, allocations: 4 kB / 428.5 MB, free: 9.477 MB / 334.1 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 9.218e-05/0.2363, allocations: 95.25 kB / 428.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.2364, allocations: 31.84 kB / 428.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2364, allocations: 0 / 428.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.2364, allocations: 12.12 kB / 428.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2368, allocations: 31.33 kB / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.2371, allocations: 193.4 kB / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.2372, allocations: 75.19 kB / 429 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.2373, allocations: 11.44 kB / 429 MB, free: 8.973 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2373, allocations: 0 / 429 MB, free: 8.973 MB / 334.1 MB Notification: Performance of Templates: time 0.00238/0.2396, allocations: 0.7688 MB / 429.7 MB, free: 8.203 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/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: 7.181571469176561]