Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001948/0.001948, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001641/0.001641, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.519/1.519, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 63.89 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3326, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00337/0.3359, allocations: 1.578 MB / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004604/0.3364, allocations: 139.5 kB / 434.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.3365, allocations: 4 kB / 434.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.129e-05/0.3366, allocations: 7.922 kB / 434.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3367, allocations: 7.938 kB / 434.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.337, allocations: 43.83 kB / 434.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3371, allocations: 31.86 kB / 434.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3372, allocations: 11.98 kB / 434.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.3372, allocations: 19.92 kB / 434.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.3373, allocations: 15.94 kB / 434.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3373, allocations: 0 / 434.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3373, allocations: 4 kB / 434.3 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.3374, allocations: 15.92 kB / 434.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.3374, allocations: 19.81 kB / 434.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3376, allocations: 49.02 kB / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3376, allocations: 0 / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3376, allocations: 0 / 434.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3376, allocations: 0 / 434.4 MB, free: 4.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005261/0.3381, allocations: 302.1 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3381, allocations: 12.03 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3382, allocations: 4.891 kB / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3384, allocations: 134.3 kB / 434.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3385, allocations: 8.375 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3385, allocations: 4.312 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.3388, allocations: 121.5 kB / 435 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3388, allocations: 4.188 kB / 435 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3388, allocations: 3.938 kB / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3388, allocations: 0 / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.3389, allocations: 23.92 kB / 435 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.3393, allocations: 232.9 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3394, allocations: 61.14 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.3395, allocations: 29.69 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3395, allocations: 0 / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3396, allocations: 42.56 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3396, allocations: 0 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000262/0.3398, allocations: 73.56 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.3399, allocations: 81.11 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.34, allocations: 137.3 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3401, allocations: 25.7 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.3401, allocations: 96.25 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3401, allocations: 3.953 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3402, allocations: 17.72 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3403, allocations: 314.8 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.3404, allocations: 12 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.044e-05/0.3404, allocations: 31.36 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.713e-05/0.3405, allocations: 47.42 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3405, allocations: 3.938 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000225/0.3408, allocations: 65.69 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3408, allocations: 12 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3408, allocations: 0 / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3408, allocations: 3.984 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.3409, allocations: 8 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3409, allocations: 0 / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3409, allocations: 7.953 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3409, allocations: 4 kB / 436.3 MB, free: 2.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001175/0.341, allocations: 125.7 kB / 436.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.3411, allocations: 41.7 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3412, allocations: 16.33 kB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3412, allocations: 4 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3412, allocations: 3.938 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3412, allocations: 0 / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3414, allocations: 140.6 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3414, allocations: 4 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3414, allocations: 8 kB / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3414, allocations: 4 kB / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3414, allocations: 4 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3414, allocations: 7.922 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3414, allocations: 4 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3416, allocations: 164.3 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.3417, allocations: 11.94 kB / 436.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3417, allocations: 8 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.3417, allocations: 0 / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3418, allocations: 3.984 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.3418, allocations: 8 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.359e-05/0.3419, allocations: 99.27 kB / 436.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3419, allocations: 0 / 436.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3421, allocations: 4 kB / 436.9 MB, free: 1.953 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 (4): * Single equations (assignments): 4 * 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.3422, allocations: 99.19 kB / 437 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3424, allocations: 32.28 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3424, allocations: 4.25 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.281e-05/0.3424, allocations: 8 kB / 437.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3427, allocations: 28.03 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.3431, allocations: 180.1 kB / 437.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.3435, allocations: 0.6885 MB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.3436, allocations: 11.44 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3436, allocations: 4.062 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Templates: time 0.002783/0.3463, allocations: 0.6922 MB / 438.7 MB, free: 152 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.254497930873185]