Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001207/0.001207, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0009999/0.0009999, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9541/0.9541, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.101e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003407/0.003438, allocations: 1.902 MB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.00468, allocations: 0.6816 MB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.004827, allocations: 7.938 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.00501, allocations: 23.73 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.005168, allocations: 31.73 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.005638, allocations: 103.7 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005862, allocations: 143.5 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.006032, allocations: 53.88 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.006256, allocations: 83.75 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.194e-05/0.006348, allocations: 35.83 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.006376, allocations: 8 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.006432, allocations: 16 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.006496, allocations: 31.84 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.006546, allocations: 35.86 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.006774, allocations: 107.6 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006778, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00678, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.006785, allocations: 0 / 276.2 MB, free: 14.25 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.0006104/0.007396, allocations: 476 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.00744, allocations: 8.031 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.007647, allocations: 36.83 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.007955, allocations: 205 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.007983, allocations: 12.5 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.008002, allocations: 4.375 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.008497, allocations: 275.2 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.008508, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.008526, allocations: 8 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008536, allocations: 4 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.008618, allocations: 35.84 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.009115, allocations: 461.6 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.009436, allocations: 195.4 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.009553, allocations: 90.45 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.009578, allocations: 7.984 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.009611, allocations: 45.39 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.009613, allocations: 0 / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003493/0.009962, allocations: 145.4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.01006, allocations: 200.2 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.01023, allocations: 234.6 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.01025, allocations: 25.7 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.01033, allocations: 158.8 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.01035, allocations: 11.94 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.01038, allocations: 19.38 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01052, allocations: 0.4888 MB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.01054, allocations: 8 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.431e-05/0.01058, allocations: 56.77 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.01062, allocations: 19.38 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01062, allocations: 3.938 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.25e-05/0.01072, allocations: 49.64 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.01073, allocations: 8 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01074, allocations: 0 / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01075, allocations: 4.156 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.01082, allocations: 11.98 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01083, allocations: 7.875 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.01087, allocations: 4 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.01088, allocations: 0 / 279.5 MB, free: 10.6 MB / 266.7 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 8.675e-05/0.01096, allocations: 164.5 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.01124, allocations: 113.4 kB / 279.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.01129, allocations: 25.45 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01129, allocations: 4 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.0113, allocations: 4 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.0113, allocations: 7.969 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.01151, allocations: 152.5 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01152, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01162, allocations: 39.92 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01163, allocations: 0 / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01164, allocations: 7.984 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01164, allocations: 0 / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.01164, allocations: 4 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.01191, allocations: 421.8 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.01197, allocations: 35.88 kB / 280.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.01199, allocations: 4 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.0121, allocations: 12 kB / 280.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.01213, allocations: 3.984 kB / 280.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.01214, allocations: 7.938 kB / 280.5 MB, free: 9.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.866e-05/0.01224, allocations: 172.2 kB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 0 / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.01253, allocations: 12 kB / 280.7 MB, free: 9.352 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001099/0.01264, allocations: 111.3 kB / 280.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.01277, allocations: 47.61 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01277, allocations: 0 / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.01279, allocations: 11.69 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.01332, allocations: 94.73 kB / 280.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/0.01424, allocations: 370.1 kB / 281.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01429, allocations: 79.83 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.01433, allocations: 17.14 kB / 281.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.01436, allocations: 12.5 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01436, allocations: 0 / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.003474/0.01784, allocations: 1.839 MB / 283.2 MB, free: 6.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.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.816842936910689]