Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001539/0.001539, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001711/0.001711, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 258.1 MB, free: 8.133 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-beta.om/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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 71.77 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 53.3 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002974/0.3287, allocations: 1.534 MB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000391/0.3291, allocations: 131.5 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.3292, allocations: 4 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.3292, allocations: 3.938 kB / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3294, allocations: 7.922 kB / 433.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3296, allocations: 43.84 kB / 433.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.3297, allocations: 31.86 kB / 433.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3298, allocations: 11.98 kB / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.3298, allocations: 7.938 kB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.3299, allocations: 11.88 kB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3299, allocations: 4 kB / 433.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-06/0.3299, allocations: 0 / 433.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.33, allocations: 11.98 kB / 433.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.33, allocations: 23.8 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3301, allocations: 41.31 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3301, allocations: 4 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3301, allocations: 4 kB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3301, allocations: 0 / 433.9 MB, free: 5.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005092/0.3306, allocations: 359.2 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3307, allocations: 8.031 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.3307, allocations: 8.891 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.331, allocations: 196.2 kB / 434.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.331, allocations: 384 / 434.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.331, allocations: 8.375 kB / 434.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3312, allocations: 85.67 kB / 434.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3312, allocations: 4.125 kB / 434.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3312, allocations: 3.938 kB / 434.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3312, allocations: 4 kB / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.3313, allocations: 15.98 kB / 434.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.3316, allocations: 257.8 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.3317, allocations: 61 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3318, allocations: 13.78 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3318, allocations: 8 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3318, allocations: 34.56 kB / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3318, allocations: 0 / 434.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002378/0.3321, allocations: 61.61 kB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.3321, allocations: 85.05 kB / 435.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3323, allocations: 138.3 kB / 435.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3323, allocations: 29.7 kB / 435.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.3324, allocations: 84.12 kB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.3324, allocations: 0 / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3324, allocations: 17.72 kB / 435.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3326, allocations: 314.8 kB / 435.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.3326, allocations: 11.98 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.3326, allocations: 17.72 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.3327, allocations: 29.7 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3327, allocations: 0 / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001256/0.3328, allocations: 61.45 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3328, allocations: 4 kB / 435.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3329, allocations: 128 / 435.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3329, allocations: 7.984 kB / 435.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.3329, allocations: 4 kB / 435.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3329, allocations: 4 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.333, allocations: 4 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.333, allocations: 0 / 435.8 MB, free: 3.32 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: 2 (step.y,sample1.y) * 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.672e-05/0.3331, allocations: 125.7 kB / 435.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.3331, allocations: 37.66 kB / 436 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3332, allocations: 11.83 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3332, allocations: 4.031 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.3332, allocations: 0 / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3332, allocations: 0 / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.3334, allocations: 173.6 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3334, allocations: 0 / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.3334, allocations: 4 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.3334, allocations: 7.922 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3334, allocations: 0 / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3334, allocations: 0 / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3334, allocations: 4 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.3336, allocations: 160.3 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.3337, allocations: 89.05 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3337, allocations: 0 / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.3338, allocations: 4 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.3338, allocations: 3.984 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3338, allocations: 0 / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.3339, allocations: 110.5 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3339, allocations: 0 / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.3341, allocations: 4 kB / 436.5 MB, free: 2.496 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: 2 (step.y,sample1.y) * 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.0001142/0.3342, allocations: 99.19 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3343, allocations: 23.92 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3343, allocations: 0 / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.3344, allocations: 12.11 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3347, allocations: 23.16 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.335, allocations: 176.1 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3353, allocations: 0.6884 MB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.3353, allocations: 11.44 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3353, allocations: 3.938 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Templates: time 0.002076/0.3374, allocations: 0.635 MB / 438.2 MB, free: 0.7617 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.760020785965025]