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.001899/0.001899, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002228/0.002228, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.712/1.712, allocations: 230.5 MB / 258.1 MB, free: 8.156 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.002271/0.002271, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3605, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003219/0.3637, allocations: 1.538 MB / 433.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.3641, allocations: 135.5 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.3642, allocations: 0 / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.3643, allocations: 3.938 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3644, allocations: 11.92 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.3646, allocations: 31.91 kB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.3647, allocations: 31.92 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3648, allocations: 11.98 kB / 433.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.3649, allocations: 7.938 kB / 433.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.3649, allocations: 19.86 kB / 433.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.365, allocations: 0 / 433.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.365, allocations: 4 kB / 433.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.365, allocations: 8 kB / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.3651, allocations: 19.81 kB / 433.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3652, allocations: 45.3 kB / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3652, allocations: 0 / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3652, allocations: 0 / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3652, allocations: 4 kB / 433.9 MB, free: 5.535 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.0005476/0.3657, allocations: 363.2 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3658, allocations: 8.031 kB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3658, allocations: 12.89 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3661, allocations: 192.2 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3661, allocations: 4.375 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3662, allocations: 4.375 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3664, allocations: 89.61 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3664, allocations: 192 / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3664, allocations: 7.938 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3664, allocations: 0 / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.3665, allocations: 15.98 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3669, allocations: 261.7 kB / 434.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3671, allocations: 53.08 kB / 434.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.3671, allocations: 17.78 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3672, allocations: 3.938 kB / 434.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3672, allocations: 34.56 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3672, allocations: 0 / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002837/0.3675, allocations: 65.61 kB / 435 MB, free: 4.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3675, allocations: 81.11 kB / 435.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3677, allocations: 134.3 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3677, allocations: 29.7 kB / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3678, allocations: 84.12 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.3678, allocations: 8 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3679, allocations: 13.72 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.368, allocations: 314.8 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.3681, allocations: 7.984 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.3681, allocations: 13.72 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.3682, allocations: 37.7 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3682, allocations: 0 / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001339/0.3683, allocations: 57.58 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3683, allocations: 7.125 kB / 435.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3683, allocations: 7.984 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3684, allocations: 8 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.3684, allocations: 4 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3684, allocations: 4 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.3685, allocations: 0 / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3685, allocations: 4 kB / 435.8 MB, free: 3.355 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.78e-05/0.3686, allocations: 117.8 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.3686, allocations: 37.66 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.3687, allocations: 11.83 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3687, allocations: 32 / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3687, allocations: 4 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3687, allocations: 7.984 kB / 436 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3689, allocations: 165.6 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3689, allocations: 3.984 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.3689, allocations: 11.92 kB / 436.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3689, allocations: 7.875 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3689, allocations: 0 / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3689, allocations: 4 kB / 436.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3689, allocations: 0 / 436.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3691, allocations: 156.3 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.3692, allocations: 89.05 kB / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3692, allocations: 0 / 436.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.3693, allocations: 4 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.3693, allocations: 3.984 kB / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3693, allocations: 0 / 436.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.3694, allocations: 110 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3694, allocations: 0 / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.3696, allocations: 4 kB / 436.5 MB, free: 2.531 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.0001587/0.3698, allocations: 107.1 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3699, allocations: 15.98 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3699, allocations: 0 / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.3699, allocations: 12.11 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3703, allocations: 19.97 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.3706, allocations: 150.4 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.371, allocations: 0.6846 MB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.371, allocations: 4 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.371, allocations: 7.438 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.371, allocations: 0 / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Templates: time 0.00308/0.3741, allocations: 451.4 kB / 438 MB, free: 1.039 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 -s cvode -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: 5.077927733771503]