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.001892/0.001892, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002135/0.002135, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.646/1.646, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.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 1.824e-06/1.824e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.766e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003789/0.003826, allocations: 1.867 MB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.005363, allocations: 0.67 MB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.005494, allocations: 11.88 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.005658, allocations: 23.78 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.005809, allocations: 27.73 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.006234, allocations: 103.7 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.006472, allocations: 151.5 kB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.006628, allocations: 45.89 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.006859, allocations: 87.73 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.006948, allocations: 35.89 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.006982, allocations: 12 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.007039, allocations: 15.98 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.007108, allocations: 31.86 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.007163, allocations: 35.84 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.007438, allocations: 147.5 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.007441, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.007443, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.007449, allocations: 3.938 kB / 275.5 MB, free: 14.54 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.0007379/0.008187, allocations: 487.7 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.008232, allocations: 15.98 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.008416, allocations: 32.83 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.008776, allocations: 200.9 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.008798, allocations: 8.562 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.008817, allocations: 4.375 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.009482, allocations: 342 kB / 276.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.009494, allocations: 4 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.009511, allocations: 4 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.009519, allocations: 4 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.009717, allocations: 55.91 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.01035, allocations: 481.6 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.01085, allocations: 243.5 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.01106, allocations: 118.3 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.01109, allocations: 11.98 kB / 277.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.01114, allocations: 41.39 kB / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.01114, allocations: 0 / 277.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005874/0.01173, allocations: 217.3 kB / 277.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.01188, allocations: 191.9 kB / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.01213, allocations: 254.6 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.01216, allocations: 29.7 kB / 278.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01227, allocations: 159.2 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.0123, allocations: 7.938 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.01235, allocations: 35.27 kB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002968/0.01265, allocations: 0.5004 MB / 278.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.01269, allocations: 8 kB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.01279, allocations: 80.44 kB / 278.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.01289, allocations: 46.98 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01289, allocations: 0 / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001484/0.01304, allocations: 73.58 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.01306, allocations: 4.125 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01307, allocations: 8 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01308, allocations: 4 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.01315, allocations: 11.92 kB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01316, allocations: 4 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.01321, allocations: 0 / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01322, allocations: 4 kB / 279.1 MB, free: 10.52 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 0.0001455/0.01337, allocations: 168.5 kB / 279.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.01368, allocations: 149.9 kB / 279.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.01374, allocations: 25.48 kB / 279.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.01375, allocations: 4.328 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01375, allocations: 3.938 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01376, allocations: 4 kB / 279.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.01404, allocations: 172.4 kB / 279.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.01405, allocations: 7.984 kB / 279.6 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.01418, allocations: 35.92 kB / 279.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.01419, allocations: 4 kB / 279.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.0142, allocations: 0 / 279.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.01421, allocations: 7.984 kB / 279.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01421, allocations: 0 / 279.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.01475, allocations: 465.9 kB / 280.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.01484, allocations: 39.81 kB / 280.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01487, allocations: 4 kB / 280.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.015, allocations: 8 kB / 280.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01504, allocations: 7.984 kB / 280.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.01505, allocations: 4 kB / 280.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.01521, allocations: 176.2 kB / 280.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01521, allocations: 0 / 280.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.01549, allocations: 20 kB / 280.4 MB, free: 9.156 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 0.0001459/0.01564, allocations: 111.2 kB / 280.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.01588, allocations: 75.5 kB / 280.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01588, allocations: 0 / 280.5 MB, free: 8.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.918e-05/0.01593, allocations: 19.69 kB / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.01659, allocations: 115 kB / 280.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006543/0.01725, allocations: 330.6 kB / 281 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.0174, allocations: 111.4 kB / 281.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.01744, allocations: 5.156 kB / 281.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.01749, allocations: 20.48 kB / 281.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0175, allocations: 4 kB / 281.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of Templates: time 0.005671/0.02317, allocations: 1.797 MB / 282.9 MB, free: 6.52 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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: 4.536992089007981]