Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.688/1.688, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 55.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3607, allocations: 53.34 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003654/0.3644, allocations: 1.582 MB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3656, allocations: 0.5025 MB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.3657, allocations: 0 / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.01e-05/0.3657, allocations: 3.938 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.3659, allocations: 15.86 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.3663, allocations: 51.81 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3664, allocations: 39.92 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3665, allocations: 11.98 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3667, allocations: 27.88 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.3667, allocations: 23.84 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3667, allocations: 4 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.3668, allocations: 4 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.3668, allocations: 15.92 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3669, allocations: 15.88 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.367, allocations: 58.41 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.367, allocations: 0 / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3671, allocations: 4 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3671, allocations: 0 / 434.7 MB, free: 4.359 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.000572/0.3676, allocations: 298 kB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3677, allocations: 8.031 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.3679, allocations: 16.88 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3682, allocations: 140.9 kB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3682, allocations: 4.375 kB / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3682, allocations: 384 / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.3685, allocations: 105.3 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3685, allocations: 0 / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3685, allocations: 0 / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3685, allocations: 0 / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.3686, allocations: 19.98 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.3689, allocations: 213.3 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.369, allocations: 41.16 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.3691, allocations: 25.77 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3691, allocations: 0 / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.3691, allocations: 42.5 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3691, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000275/0.3694, allocations: 65.56 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.3695, allocations: 81.11 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3696, allocations: 138.1 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3697, allocations: 25.7 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.3697, allocations: 96.38 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.3698, allocations: 4 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3698, allocations: 17.67 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.37, allocations: 314.8 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.37, allocations: 7.984 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.643e-05/0.3701, allocations: 21.7 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.291e-05/0.3702, allocations: 29.66 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3702, allocations: 0 / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.3703, allocations: 61.67 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3703, allocations: 4 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3703, allocations: 4 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3703, allocations: 7.938 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.3704, allocations: 7.938 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3704, allocations: 0 / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.3705, allocations: 7.984 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3705, allocations: 0 / 436.5 MB, free: 2.371 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.0001279/0.3706, allocations: 121.8 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.3707, allocations: 45.64 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3707, allocations: 11.77 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3707, allocations: 0 / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3707, allocations: 0 / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3707, allocations: 0 / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3709, allocations: 117.3 kB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3709, allocations: 3.938 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.371, allocations: 11.97 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.371, allocations: 0 / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.371, allocations: 0 / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.371, allocations: 7.969 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.371, allocations: 4 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3712, allocations: 160.3 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3712, allocations: 11.89 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3712, allocations: 3.984 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.3713, allocations: 4 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.3714, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3714, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.448e-05/0.3714, allocations: 118 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3714, allocations: 4.031 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3717, allocations: 4 kB / 437.1 MB, free: 1.691 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.0001165/0.3718, allocations: 99.19 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3719, allocations: 23.92 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3719, allocations: 3.938 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.372, allocations: 7.984 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3723, allocations: 16.16 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.3727, allocations: 159.8 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.3728, allocations: 79.31 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.3728, allocations: 0 / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.3729, allocations: 15.38 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3729, allocations: 0 / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Templates: time 0.003596/0.3765, allocations: 0.5428 MB / 438 MB, free: 0.707 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.041770938987611]