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.001694/0.001694, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001612/0.001612, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.566/1.566, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002544/0.002544, allocations: 59.89 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3304, allocations: 53.4 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003245/0.3336, allocations: 1.582 MB / 434 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3347, allocations: 0.5453 MB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.3348, allocations: 3.938 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.143e-05/0.3349, allocations: 3.938 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.335, allocations: 11.94 kB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3353, allocations: 51.81 kB / 434.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3355, allocations: 43.8 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3356, allocations: 8 kB / 434.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3357, allocations: 35.84 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.3358, allocations: 19.86 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3358, allocations: 4 kB / 434.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.932e-05/0.3358, allocations: 4 kB / 434.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.3359, allocations: 11.98 kB / 434.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.3359, allocations: 19.81 kB / 434.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3361, allocations: 60.95 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3361, allocations: 0 / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3361, allocations: 0 / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3361, allocations: 0 / 434.8 MB, free: 4.367 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.0005273/0.3366, allocations: 294 kB / 435.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3367, allocations: 12.03 kB / 435.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3368, allocations: 16.88 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3371, allocations: 145.1 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3371, allocations: 4.312 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.3371, allocations: 8.375 kB / 435.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.3374, allocations: 89.41 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3374, allocations: 0 / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3374, allocations: 0 / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3374, allocations: 7.938 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.3375, allocations: 19.98 kB / 435.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.3378, allocations: 236.8 kB / 435.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.3379, allocations: 49.14 kB / 435.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.338, allocations: 17.78 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.338, allocations: 0 / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.338, allocations: 34.56 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.338, allocations: 0 / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002458/0.3383, allocations: 69.81 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.3383, allocations: 81.11 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3385, allocations: 146.1 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.3385, allocations: 25.7 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.3386, allocations: 88.08 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3386, allocations: 4 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3386, allocations: 21.66 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.3389, allocations: 318.8 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.3389, allocations: 12 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/0.3389, allocations: 21.7 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3391, allocations: 33.64 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3391, allocations: 0 / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.3392, allocations: 57.69 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3392, allocations: 8 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3392, allocations: 0 / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3392, allocations: 3.984 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.3393, allocations: 4 kB / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3393, allocations: 0 / 436.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.3393, allocations: 4 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3393, allocations: 0 / 436.6 MB, free: 2.344 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.0001001/0.3394, allocations: 121.8 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3395, allocations: 45.66 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3395, allocations: 15.77 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3396, allocations: 3.984 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3396, allocations: 0 / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3396, allocations: 0 / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.3398, allocations: 144.7 kB / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3398, allocations: 0 / 437 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.3398, allocations: 4 kB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3398, allocations: 0 / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3398, allocations: 4 kB / 437 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3398, allocations: 4.031 kB / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3398, allocations: 0 / 437 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.34, allocations: 168.2 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.34, allocations: 11.94 kB / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3401, allocations: 0 / 437.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.3401, allocations: 8.031 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.3402, allocations: 0 / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.3402, allocations: 4 kB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.3402, allocations: 114 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3402, allocations: 3.938 kB / 437.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.3405, allocations: 4 kB / 437.3 MB, free: 1.625 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.000118/0.3407, allocations: 95.19 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.3408, allocations: 31.92 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3408, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.3408, allocations: 7.984 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3412, allocations: 19.91 kB / 437.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3416, allocations: 177.5 kB / 437.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3419, allocations: 0.6965 MB / 438.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.342, allocations: 15.42 kB / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.342, allocations: 0 / 438.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of Templates: time 0.00249/0.3444, allocations: 0.7028 MB / 439 MB, free: 15.81 MB / 350.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/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_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: 7.287876821123064]