Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001547/0.001547, allocations: 107.1 kB / 20.44 MB, free: 1.328 MB / 14.72 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.001601/0.001601, allocations: 202 kB / 23.72 MB, free: 4.5 MB / 14.72 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.736/1.736, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 59.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3161, allocations: 53.42 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003157/0.3192, allocations: 1.577 MB / 433.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3203, allocations: 0.5143 MB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.3204, allocations: 3.938 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.3205, allocations: 7.922 kB / 433.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3206, allocations: 15.88 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.321, allocations: 59.8 kB / 433.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3211, allocations: 51.8 kB / 433.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3212, allocations: 12.17 kB / 433.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3213, allocations: 35.84 kB / 433.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.3214, allocations: 15.86 kB / 433.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3214, allocations: 4 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.3215, allocations: 8 kB / 433.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.3215, allocations: 11.94 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.3215, allocations: 19.86 kB / 434 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.3217, allocations: 65.92 kB / 434 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3217, allocations: 4 kB / 434 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3217, allocations: 3.938 kB / 434 MB, free: 4.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3217, allocations: 4 kB / 434 MB, free: 4.121 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.0004974/0.3222, allocations: 305.9 kB / 434.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3223, allocations: 11.98 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3224, allocations: 16.88 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3227, allocations: 154.4 kB / 434.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3227, allocations: 4.375 kB / 434.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3227, allocations: 7.938 kB / 434.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.323, allocations: 109 kB / 434.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.323, allocations: 0 / 434.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.323, allocations: 0 / 434.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.323, allocations: 4 kB / 434.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.3231, allocations: 19.92 kB / 434.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.3234, allocations: 209.4 kB / 434.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3235, allocations: 41.16 kB / 434.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.3236, allocations: 29.77 kB / 434.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3236, allocations: 0 / 434.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3236, allocations: 30.56 kB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3236, allocations: 0 / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000258/0.3239, allocations: 73.56 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3239, allocations: 77.11 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3241, allocations: 145.8 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3241, allocations: 25.95 kB / 435.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.3241, allocations: 100.1 kB / 435.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.3242, allocations: 0 / 435.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3242, allocations: 13.72 kB / 435.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3243, allocations: 326.8 kB / 435.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.3244, allocations: 4 kB / 435.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.3244, allocations: 25.64 kB / 435.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/0.3245, allocations: 25.7 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3245, allocations: 4.062 kB / 435.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.3246, allocations: 61.58 kB / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3246, allocations: 4 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3246, allocations: 0 / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3247, allocations: 0 / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.3247, allocations: 11.92 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3247, allocations: 4 kB / 435.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.3248, allocations: 0 / 435.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3248, allocations: 3.938 kB / 435.8 MB, free: 2.098 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 9.118e-05/0.3249, allocations: 125.9 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.3249, allocations: 41.59 kB / 436 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.325, allocations: 7.812 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.325, allocations: 3.938 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.325, allocations: 4 kB / 436 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.325, allocations: 3.984 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.3251, allocations: 117.2 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3251, allocations: 4 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3252, allocations: 4 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3252, allocations: 32 / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3252, allocations: 7.984 kB / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3252, allocations: 0 / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3252, allocations: 0 / 436.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3254, allocations: 168.2 kB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.3254, allocations: 11.94 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3254, allocations: 0 / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.3255, allocations: 15.98 kB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3255, allocations: 3.984 kB / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3256, allocations: 0 / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.3256, allocations: 118.8 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3256, allocations: 0 / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3259, allocations: 4 kB / 436.5 MB, free: 1.406 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.366e-05/0.326, allocations: 99.23 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3261, allocations: 19.98 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3261, allocations: 0 / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.3261, allocations: 7.938 kB / 436.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3265, allocations: 27.2 kB / 436.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.3269, allocations: 171.7 kB / 436.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.327, allocations: 79.27 kB / 436.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.327, allocations: 4 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.3271, allocations: 7.438 kB / 436.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3271, allocations: 0 / 436.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of Templates: time 0.003585/0.3307, allocations: 0.6657 MB / 437.5 MB, free: 300 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.832413779571652]