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.001554/0.001554, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001775/0.001775, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001473/0.001473, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003378/0.2323, allocations: 1.849 MB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2336, allocations: 0.6624 MB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2337, allocations: 7.938 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.2339, allocations: 15.8 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.234, allocations: 27.73 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.2344, allocations: 107.8 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.2346, allocations: 147.5 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2348, allocations: 56.77 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.2349, allocations: 63.72 kB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.235, allocations: 51.7 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.235, allocations: 16 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.2351, allocations: 16 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.2351, allocations: 27.86 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.2352, allocations: 47.73 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2354, allocations: 158.9 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2354, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2354, allocations: 0 / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2354, allocations: 0 / 435.6 MB, free: 3.477 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006212/0.2361, allocations: 384.4 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2361, allocations: 8.031 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2363, allocations: 32.83 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2366, allocations: 194.2 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2366, allocations: 8.125 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2367, allocations: 8 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.2373, allocations: 294 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2373, allocations: 0 / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2373, allocations: 7.984 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2373, allocations: 4 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.2375, allocations: 79.81 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.238, allocations: 351.2 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.2384, allocations: 209 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.2386, allocations: 104.2 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.2387, allocations: 4 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.2387, allocations: 34.56 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2387, allocations: 4 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005656/0.2393, allocations: 225.2 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.2394, allocations: 195.9 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.2396, allocations: 179.2 kB / 437.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2396, allocations: 29.7 kB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.2397, allocations: 112.4 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2397, allocations: 15.94 kB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.2398, allocations: 37.7 kB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2399, allocations: 322.8 kB / 438.3 MB, free: 420 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.178e-05/0.24, allocations: 23.98 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2402, allocations: 158.2 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.2404, allocations: 161.6 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2404, allocations: 8 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000291/0.2407, allocations: 161.2 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2407, allocations: 8.5 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2407, allocations: 4 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2407, allocations: 11.94 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2409, allocations: 35.92 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2409, allocations: 4 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.241, allocations: 15.94 kB / 438.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.241, allocations: 16 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001229/0.2411, allocations: 133.7 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.2414, allocations: 149.4 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.2415, allocations: 25.38 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2415, allocations: 4 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2415, allocations: 0 / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2415, allocations: 8.453 kB / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.2417, allocations: 145.2 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2417, allocations: 3.984 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.2419, allocations: 31.98 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2419, allocations: 4 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2419, allocations: 3.938 kB / 439.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.2419, allocations: 11.88 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2419, allocations: 7.984 kB / 439.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.2423, allocations: 347.5 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.2424, allocations: 35.88 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2424, allocations: 240 / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2426, allocations: 19.92 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.2426, allocations: 7.938 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2426, allocations: 7.984 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2427, allocations: 132.4 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2427, allocations: 4 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.2431, allocations: 24 kB / 440 MB, free: 14.54 MB / 350.1 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.0001094/0.2432, allocations: 99.25 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.2434, allocations: 112.4 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2435, allocations: 256 / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.2435, allocations: 19.94 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.2441, allocations: 95.91 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2454, allocations: 477 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2455, allocations: 110.8 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.2456, allocations: 19.7 kB / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2456, allocations: 0 / 440.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.003671/0.2493, allocations: 1.837 MB / 442.8 MB, free: 11.74 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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: 6.923733346018707]