Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001548/0.001548, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001753/0.001753, allocations: 209.1 kB / 24.48 MB, free: 3.973 MB / 14.72 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.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 51.92 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2466, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002996/0.2496, allocations: 1.571 MB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2506, allocations: 0.5298 MB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.2507, allocations: 0 / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.092e-05/0.2508, allocations: 7.875 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2509, allocations: 15.92 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2512, allocations: 59.77 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2513, allocations: 55.77 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.2514, allocations: 8.188 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.2515, allocations: 31.86 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.2516, allocations: 23.84 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2516, allocations: 4 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.738e-05/0.2516, allocations: 8 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.2517, allocations: 15.92 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2517, allocations: 15.88 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2518, allocations: 66.34 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2518, allocations: 0 / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2519, allocations: 4 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.2519, allocations: 0 / 434.7 MB, free: 4.336 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.0004796/0.2523, allocations: 313.9 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2524, allocations: 8.031 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2525, allocations: 16.88 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.2527, allocations: 145 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2528, allocations: 4.312 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2528, allocations: 11.94 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.253, allocations: 105 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.253, allocations: 3.984 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.2531, allocations: 0 / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2531, allocations: 4 kB / 435.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.2531, allocations: 15.98 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.2535, allocations: 213.3 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.2536, allocations: 41.2 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.2536, allocations: 21.78 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2536, allocations: 4 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2537, allocations: 38.48 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.2537, allocations: 0 / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002465/0.2539, allocations: 65.58 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.254, allocations: 85.09 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2541, allocations: 144.8 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2542, allocations: 25.7 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.2542, allocations: 100 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.2542, allocations: 4.25 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2543, allocations: 17.72 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2544, allocations: 322.8 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.2544, allocations: 11.92 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.2545, allocations: 17.7 kB / 436.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.2546, allocations: 33.66 kB / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2546, allocations: 0 / 436.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.2547, allocations: 61.69 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2547, allocations: 8 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2547, allocations: 0 / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2547, allocations: 0 / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.2548, allocations: 4 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2548, allocations: 3.938 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.2548, allocations: 7.984 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2548, allocations: 3.938 kB / 436.5 MB, free: 2.301 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.988e-05/0.2549, allocations: 117.8 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.255, allocations: 45.7 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.255, allocations: 7.812 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.255, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.255, allocations: 4 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.255, allocations: 0 / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.2552, allocations: 121.2 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2552, allocations: 0 / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.2552, allocations: 8 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2552, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2552, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2552, allocations: 0 / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.2552, allocations: 7.969 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2554, allocations: 164.3 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.2554, allocations: 15.94 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.2555, allocations: 0 / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.2555, allocations: 8 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2556, allocations: 0 / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2556, allocations: 0 / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.953e-05/0.2557, allocations: 115.2 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2557, allocations: 0 / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2559, allocations: 8.031 kB / 437.2 MB, free: 1.625 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.2e-05/0.256, allocations: 95.25 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2561, allocations: 23.92 kB / 437.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2561, allocations: 3.938 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.2561, allocations: 11.98 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2565, allocations: 22.02 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.2568, allocations: 201.6 kB / 437.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.929e-05/0.2569, allocations: 79.27 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.2569, allocations: 11.44 kB / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2569, allocations: 0 / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.002285/0.2592, allocations: 0.8036 MB / 438.4 MB, free: 336 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.829128662007861]