Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001364/0.001364, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001487/0.001487, allocations: 218.8 kB / 23 MB, free: 5.57 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.624/1.624, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 59.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003517/0.4096, allocations: 1.586 MB / 431.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.411, allocations: 0.5298 MB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.4111, allocations: 7.938 kB / 431.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.969e-05/0.4112, allocations: 3.938 kB / 431.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.4114, allocations: 7.938 kB / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4119, allocations: 55.81 kB / 432 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.412, allocations: 43.8 kB / 432 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4122, allocations: 8 kB / 432 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.4123, allocations: 27.91 kB / 432.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.4124, allocations: 23.86 kB / 432.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4124, allocations: 0 / 432.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.4125, allocations: 4 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.4126, allocations: 11.98 kB / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.4126, allocations: 23.81 kB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.4129, allocations: 56.89 kB / 432.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4129, allocations: 4 kB / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4129, allocations: 0 / 432.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4129, allocations: 4 kB / 432.2 MB, free: 5.137 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.0007826/0.4137, allocations: 371.2 kB / 432.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.168e-05/0.4137, allocations: 8.031 kB / 432.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.414, allocations: 16.88 kB / 432.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.4144, allocations: 200.2 kB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.4144, allocations: 8.312 kB / 432.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.4144, allocations: 4.375 kB / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.4148, allocations: 101.3 kB / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4148, allocations: 0 / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4148, allocations: 4 kB / 432.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4148, allocations: 0 / 432.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.4149, allocations: 23.92 kB / 432.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.4154, allocations: 261.8 kB / 433.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.4155, allocations: 41.16 kB / 433.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.4156, allocations: 25.77 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.4156, allocations: 0 / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.4157, allocations: 34.56 kB / 433.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4157, allocations: 0 / 433.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003297/0.416, allocations: 69.56 kB / 433.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4161, allocations: 89.3 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.4164, allocations: 136.9 kB / 433.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4164, allocations: 25.7 kB / 433.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.4165, allocations: 92.12 kB / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.4165, allocations: 0 / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4165, allocations: 21.67 kB / 433.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4168, allocations: 314.8 kB / 434 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.4168, allocations: 8 kB / 434 MB, free: 3.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.4169, allocations: 29.64 kB / 434 MB, free: 3.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.417, allocations: 29.64 kB / 434.1 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.417, allocations: 0 / 434.1 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001356/0.4171, allocations: 57.62 kB / 434.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4171, allocations: 8.125 kB / 434.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4171, allocations: 0 / 434.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.4172, allocations: 0 / 434.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.4173, allocations: 7.984 kB / 434.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4173, allocations: 4 kB / 434.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.4173, allocations: 0 / 434.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4173, allocations: 0 / 434.1 MB, free: 2.918 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 0.0001497/0.4175, allocations: 121.8 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.4176, allocations: 41.58 kB / 434.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.4176, allocations: 19.86 kB / 434.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4176, allocations: 0 / 434.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4176, allocations: 0 / 434.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4176, allocations: 7.984 kB / 434.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.4179, allocations: 169.6 kB / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4179, allocations: 0 / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.4179, allocations: 7.984 kB / 434.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4179, allocations: 3.938 kB / 434.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4179, allocations: 4 kB / 434.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4179, allocations: 0 / 434.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4179, allocations: 4 kB / 434.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.4183, allocations: 160.3 kB / 434.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.4183, allocations: 97 kB / 434.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.4184, allocations: 3.984 kB / 434.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.4184, allocations: 4 kB / 434.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4185, allocations: 7.969 kB / 434.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4185, allocations: 0 / 434.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4186, allocations: 107.2 kB / 434.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4186, allocations: 4 kB / 434.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.4188, allocations: 4 kB / 434.9 MB, free: 2.055 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.0001864/0.419, allocations: 99.25 kB / 435 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4192, allocations: 15.98 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4192, allocations: 4.125 kB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.4192, allocations: 15.92 kB / 435 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4196, allocations: 22.31 kB / 435.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.4201, allocations: 159.5 kB / 435.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.4208, allocations: 0.6885 MB / 435.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.4208, allocations: 4.156 kB / 435.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.4208, allocations: 11.44 kB / 435.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4208, allocations: 0 / 435.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of Templates: time 0.004165/0.425, allocations: 497.2 kB / 436.4 MB, free: 0.5 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0654993541538715]