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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 195.6 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] 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.001569/0.001569, allocations: 51.91 kB / 369.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3486, allocations: 52.13 MB / 421.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002996/0.3516, allocations: 1.564 MB / 422.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.3525, allocations: 0.4947 MB / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.3526, allocations: 0 / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.823e-05/0.3526, allocations: 3.938 kB / 423.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.3528, allocations: 15.86 kB / 423.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3531, allocations: 47.83 kB / 423.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.3532, allocations: 47.8 kB / 423.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3533, allocations: 16.16 kB / 423.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3534, allocations: 19.94 kB / 423.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.3534, allocations: 19.86 kB / 423.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3534, allocations: 8 kB / 423.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.3535, allocations: 4 kB / 423.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3535, allocations: 15.92 kB / 423.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.3535, allocations: 19.81 kB / 423.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3537, allocations: 68.88 kB / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3537, allocations: 0 / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3537, allocations: 0 / 423.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3537, allocations: 0 / 423.6 MB, free: 12.84 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.0005708/0.3543, allocations: 379.1 kB / 424 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3543, allocations: 12.03 kB / 424 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3543, allocations: 8.891 kB / 424 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3547, allocations: 200.2 kB / 424.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3547, allocations: 4.375 kB / 424.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3547, allocations: 4.312 kB / 424.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.355, allocations: 117.1 kB / 424.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.355, allocations: 0 / 424.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.355, allocations: 4 kB / 424.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.355, allocations: 0 / 424.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.3551, allocations: 15.92 kB / 424.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.3555, allocations: 261.8 kB / 424.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.3556, allocations: 49.14 kB / 424.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.3556, allocations: 17.77 kB / 424.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3556, allocations: 11.94 kB / 424.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.3557, allocations: 34.55 kB / 424.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.3557, allocations: 4 kB / 424.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002521/0.3559, allocations: 65.56 kB / 424.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.356, allocations: 81.11 kB / 424.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3561, allocations: 144.7 kB / 425 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3562, allocations: 25.7 kB / 425 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3562, allocations: 92.12 kB / 425.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.3562, allocations: 256 / 425.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3563, allocations: 25.67 kB / 425.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3564, allocations: 318.8 kB / 425.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.3565, allocations: 12 kB / 425.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.3565, allocations: 17.7 kB / 425.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.039e-05/0.3566, allocations: 37.77 kB / 425.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3566, allocations: 0 / 425.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.3567, allocations: 53.62 kB / 425.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3567, allocations: 4 kB / 425.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3567, allocations: 4 kB / 425.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3567, allocations: 0 / 425.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.3568, allocations: 4 kB / 425.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3568, allocations: 7.969 kB / 425.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.3569, allocations: 8.062 kB / 425.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3569, allocations: 0 / 425.6 MB, free: 10.6 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.302e-05/0.357, allocations: 121.7 kB / 425.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.357, allocations: 45.58 kB / 425.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.3571, allocations: 11.88 kB / 425.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3571, allocations: 0 / 425.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3571, allocations: 0 / 425.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3571, allocations: 0 / 425.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3573, allocations: 181.5 kB / 426 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3573, allocations: 4.031 kB / 426 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.3573, allocations: 7.984 kB / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3573, allocations: 0 / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.3573, allocations: 3.938 kB / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3573, allocations: 4 kB / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3573, allocations: 0 / 426 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3575, allocations: 172.2 kB / 426.1 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.3576, allocations: 89.06 kB / 426.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3576, allocations: 3.984 kB / 426.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.3577, allocations: 0 / 426.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3577, allocations: 4 kB / 426.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.3577, allocations: 0 / 426.2 MB, free: 9.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.665e-05/0.3578, allocations: 115.2 kB / 426.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3578, allocations: 0 / 426.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.358, allocations: 8 kB / 426.4 MB, free: 9.734 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 0.0001434/0.3582, allocations: 100.1 kB / 426.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.3583, allocations: 23.92 kB / 426.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3583, allocations: 0 / 426.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.3583, allocations: 7.984 kB / 426.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3587, allocations: 23.95 kB / 426.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.3591, allocations: 189.4 kB / 426.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3595, allocations: 0.6961 MB / 427.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3595, allocations: 11.44 kB / 427.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3595, allocations: 0 / 427.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of Templates: time 0.002588/0.3621, allocations: 0.7748 MB / 428.2 MB, free: 7.855 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