Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001846/0.001846, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002088/0.002088, allocations: 214.8 kB / 23 MB, free: 5.609 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.661/1.661, allocations: 230.2 MB / 256.2 MB, free: 8.723 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.88 kB / 376.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 53.32 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003558/0.3728, allocations: 1.526 MB / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004331/0.3733, allocations: 135.5 kB / 431.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3734, allocations: 0 / 431.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.3734, allocations: 11.92 kB / 431.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.3735, allocations: 3.938 kB / 431.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3738, allocations: 39.89 kB / 431.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3739, allocations: 23.92 kB / 431.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3741, allocations: 11.98 kB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.3742, allocations: 11.94 kB / 431.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.3742, allocations: 19.86 kB / 431.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.3743, allocations: 4 kB / 431.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3743, allocations: 0 / 431.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.3743, allocations: 11.98 kB / 431.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.3744, allocations: 19.81 kB / 431.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.3745, allocations: 43.48 kB / 431.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3745, allocations: 0 / 431.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3745, allocations: 0 / 431.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3745, allocations: 0 / 431.6 MB, free: 5.715 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.0006213/0.3751, allocations: 368.7 kB / 432 MB, free: 5.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3752, allocations: 12.03 kB / 432 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.3752, allocations: 4.891 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3756, allocations: 196.2 kB / 432.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3756, allocations: 384 / 432.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3756, allocations: 4.375 kB / 432.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.3759, allocations: 89.61 kB / 432.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3759, allocations: 192 / 432.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3759, allocations: 11.88 kB / 432.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3759, allocations: 3.938 kB / 432.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.376, allocations: 15.98 kB / 432.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3764, allocations: 257.7 kB / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3765, allocations: 53.14 kB / 432.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.3765, allocations: 21.72 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3766, allocations: 0 / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3766, allocations: 34.56 kB / 432.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.3766, allocations: 4 kB / 432.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002572/0.3768, allocations: 61.61 kB / 432.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3769, allocations: 77.11 kB / 432.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3771, allocations: 136.9 kB / 433 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3771, allocations: 33.69 kB / 433 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.3771, allocations: 84.14 kB / 433.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.3772, allocations: 256 / 433.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3772, allocations: 21.72 kB / 433.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3774, allocations: 310.8 kB / 433.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.3774, allocations: 7.984 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.3774, allocations: 21.72 kB / 433.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.3775, allocations: 29.7 kB / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3775, allocations: 0 / 433.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.3776, allocations: 61.52 kB / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3777, allocations: 11.98 kB / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3777, allocations: 0 / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3777, allocations: 0 / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.3778, allocations: 4 kB / 433.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3778, allocations: 0 / 433.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3778, allocations: 8.062 kB / 433.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3778, allocations: 0 / 433.5 MB, free: 3.539 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 0.0001311/0.378, allocations: 121.8 kB / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.378, allocations: 37.66 kB / 433.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.3781, allocations: 11.83 kB / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3781, allocations: 11.98 kB / 433.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3781, allocations: 0 / 433.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3781, allocations: 0 / 433.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3783, allocations: 165.5 kB / 433.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3783, allocations: 4.031 kB / 433.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.3784, allocations: 15.92 kB / 433.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3784, allocations: 4 kB / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3784, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3784, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3784, allocations: 0 / 433.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.3786, allocations: 160.3 kB / 434.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.3787, allocations: 97.03 kB / 434.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3787, allocations: 0 / 434.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.3788, allocations: 3.984 kB / 434.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3788, allocations: 4 kB / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3788, allocations: 0 / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3789, allocations: 103.3 kB / 434.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3789, allocations: 0 / 434.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.3792, allocations: 7.938 kB / 434.3 MB, free: 2.695 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.0001518/0.3793, allocations: 103.2 kB / 434.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.3795, allocations: 19.98 kB / 434.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3795, allocations: 0 / 434.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.3795, allocations: 7.984 kB / 434.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3799, allocations: 27.52 kB / 434.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.3804, allocations: 142.7 kB / 434.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.3808, allocations: 0.6885 MB / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.3809, allocations: 0 / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/0.3809, allocations: 11.44 kB / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3809, allocations: 0 / 435.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of Templates: time 0.003969/0.3849, allocations: 449.2 kB / 435.7 MB, free: 1.207 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.013282492756844]