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.001224/0.001224, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.00154/0.00154, allocations: 155 kB / 25.61 MB, free: 8.582 MB / 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.9742/0.9742, allocations: 177 MB / 205.9 MB, free: 4.461 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.324e-06/2.324e-06, allocations: 3.938 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.669e-05/3.901e-05, allocations: 4.281 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00281/0.002849, allocations: 1.882 MB / 276 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.003781, allocations: 0.6728 MB / 276.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003892, allocations: 11.88 kB / 276.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.004023, allocations: 27.73 kB / 276.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004128, allocations: 28.41 kB / 276.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.004449, allocations: 104.9 kB / 276.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.004606, allocations: 143.5 kB / 277 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.004721, allocations: 45.89 kB / 277 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.004855, allocations: 88.98 kB / 277.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.004918, allocations: 35.83 kB / 277.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.004936, allocations: 12 kB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.006e-05/0.004976, allocations: 19.98 kB / 277.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.005019, allocations: 27.92 kB / 277.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.005048, allocations: 39.84 kB / 277.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.005205, allocations: 99.53 kB / 277.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005208, allocations: 0 / 277.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005209, allocations: 0 / 277.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005213, allocations: 0 / 277.4 MB, free: 1.059 MB / 250.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.0003957/0.005608, allocations: 483.9 kB / 277.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.005639, allocations: 8.031 kB / 277.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.005739, allocations: 32.84 kB / 277.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.005923, allocations: 201 kB / 278.1 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.005939, allocations: 8.562 kB / 278.1 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.00595, allocations: 8.375 kB / 278.1 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.006227, allocations: 292.1 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006234, allocations: 3.984 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.006244, allocations: 4 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.006248, allocations: 4 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.006285, allocations: 23.92 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.006565, allocations: 434.2 kB / 278.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.006735, allocations: 199.3 kB / 279 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.006795, allocations: 86.47 kB / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006811, allocations: 8 kB / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.006832, allocations: 37.39 kB / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.006833, allocations: 0 / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002124/0.007045, allocations: 147.6 kB / 279.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.007132, allocations: 195.9 kB / 279.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007234, allocations: 234.5 kB / 279.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.007248, allocations: 29.7 kB / 279.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.007303, allocations: 151.6 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.007316, allocations: 7.953 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.007345, allocations: 31.33 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.007458, allocations: 0.4884 MB / 280.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.007467, allocations: 4 kB / 280.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.007502, allocations: 68.42 kB / 280.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.007535, allocations: 35 kB / 280.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007538, allocations: 3.938 kB / 280.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.115e-05/0.007609, allocations: 65.61 kB / 280.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.007619, allocations: 4 kB / 280.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007624, allocations: 4 kB / 280.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.007631, allocations: 0 / 280.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.643e-05/0.007678, allocations: 15.92 kB / 280.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.00768, allocations: 0 / 280.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.007709, allocations: 4 kB / 280.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007714, allocations: 4 kB / 280.6 MB, free: 13.41 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 7.06e-05/0.007784, allocations: 160.5 kB / 280.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.00789, allocations: 113.5 kB / 280.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.007923, allocations: 25.45 kB / 280.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007925, allocations: 0 / 280.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.007928, allocations: 4 kB / 280.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.007931, allocations: 336 / 280.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.008089, allocations: 137.1 kB / 281 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00809, allocations: 4 kB / 281.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.008158, allocations: 39.91 kB / 281.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.008162, allocations: 3.938 kB / 281.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.008169, allocations: 7.984 kB / 281.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00817, allocations: 0 / 281.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.008172, allocations: 8.031 kB / 281.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.008305, allocations: 346 kB / 281.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.008354, allocations: 39.77 kB / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.008371, allocations: 0 / 281.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.008441, allocations: 15.98 kB / 281.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.008461, allocations: 0 / 281.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.008467, allocations: 4 kB / 281.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.152e-05/0.008528, allocations: 172.2 kB / 281.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008528, allocations: 0 / 281.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.008701, allocations: 20.03 kB / 281.7 MB, free: 12.25 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 8.576e-05/0.008787, allocations: 103.2 kB / 281.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.008881, allocations: 47.53 kB / 281.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008882, allocations: 0 / 281.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.008897, allocations: 11.69 kB / 281.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.009233, allocations: 87.75 kB / 281.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.009679, allocations: 309.5 kB / 282.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.767e-05/0.009726, allocations: 83.81 kB / 282.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.009757, allocations: 5.156 kB / 282.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.009848, allocations: 106.2 kB / 282.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009849, allocations: 0 / 282.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Templates: time 0.003376/0.01323, allocations: 1.973 MB / 284.4 MB, free: 9.508 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.7572556608356535]