Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.00101/0.00101, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.0009413/0.0009413, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9984/0.9984, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.988e-05/5.22e-05, allocations: 2.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00287/0.002922, allocations: 1.898 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003963, allocations: 0.6777 MB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004089, allocations: 11.88 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.004244, allocations: 19.73 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.004374, allocations: 27.78 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.004729, allocations: 115.6 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.004886, allocations: 139.6 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.005029, allocations: 53.88 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.005187, allocations: 83.73 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.005263, allocations: 39.83 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.005288, allocations: 8 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.00534, allocations: 12 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.005403, allocations: 31.86 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.005445, allocations: 31.91 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.005646, allocations: 103.5 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.00565, allocations: 7.984 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.005653, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005658, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004817/0.00614, allocations: 479.9 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.006183, allocations: 15.98 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.006318, allocations: 32.83 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006548, allocations: 197 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.006573, allocations: 12.55 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.00659, allocations: 8.375 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.00699, allocations: 285.2 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.007, allocations: 7.875 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.007016, allocations: 8 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.007023, allocations: 0 / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.007084, allocations: 35.92 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.007466, allocations: 457.6 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.007698, allocations: 199.4 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.976e-05/0.007787, allocations: 98.47 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.007813, allocations: 4 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.007838, allocations: 41.39 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.007839, allocations: 0 / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002744/0.008114, allocations: 149.4 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/0.008206, allocations: 204.3 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.008339, allocations: 234.5 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.008354, allocations: 29.7 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.008429, allocations: 155.2 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.008442, allocations: 3.953 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.008479, allocations: 35.31 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008597, allocations: 0.4922 MB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.00861, allocations: 4.375 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.008652, allocations: 68.45 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.008692, allocations: 38.98 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008694, allocations: 0 / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.3e-05/0.008757, allocations: 57.59 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00877, allocations: 7.984 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.008775, allocations: 4 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.008792, allocations: 0 / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.008838, allocations: 12.12 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008843, allocations: 3.938 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.008873, allocations: 8 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.008877, allocations: 0 / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * 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 8.328e-05/0.008961, allocations: 168.8 kB / 279.7 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.009083, allocations: 125.3 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.009119, allocations: 21.47 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.009122, allocations: 4 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009126, allocations: 0 / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.009132, allocations: 8.016 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.009286, allocations: 168.5 kB / 280 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009287, allocations: 0 / 280 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.009356, allocations: 35.92 kB / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.009358, allocations: 0 / 280 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009367, allocations: 4 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009369, allocations: 0 / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00937, allocations: 4 kB / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.009606, allocations: 429.8 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.00965, allocations: 31.83 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.009668, allocations: 8 kB / 280.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.009732, allocations: 11.98 kB / 280.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.009763, allocations: 4 kB / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.00977, allocations: 8 kB / 280.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.009845, allocations: 164.3 kB / 280.7 MB, free: 9.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009845, allocations: 3.938 kB / 280.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.01003, allocations: 20 kB / 280.7 MB, free: 9.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 9.226e-05/0.01012, allocations: 103.2 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.01024, allocations: 51.72 kB / 280.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01025, allocations: 4 kB / 280.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.01027, allocations: 7.688 kB / 280.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.01065, allocations: 91.69 kB / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.01124, allocations: 310.1 kB / 281.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.0113, allocations: 83.81 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.01133, allocations: 9.438 kB / 281.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.01137, allocations: 20.5 kB / 281.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01137, allocations: 0 / 281.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of Templates: time 0.003593/0.01496, allocations: 1.806 MB / 283.2 MB, free: 6.637 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9689798927865922]