Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001398/0.001398, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001825/0.001825, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.61/1.61, allocations: 230.4 MB / 258.1 MB, free: 8.172 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-beta.om/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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 59.89 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4218, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003707/0.4255, allocations: 1.897 MB / 434 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4271, allocations: 0.7013 MB / 434.7 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.4273, allocations: 7.938 kB / 434.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.4274, allocations: 19.73 kB / 434.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.4276, allocations: 31.78 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.4281, allocations: 111.6 kB / 434.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.4283, allocations: 143.6 kB / 435 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4285, allocations: 49.7 kB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.4286, allocations: 63.7 kB / 435.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4288, allocations: 51.66 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.4288, allocations: 8 kB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.819e-05/0.4288, allocations: 16 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.4289, allocations: 31.91 kB / 435.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.429, allocations: 71.53 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.4293, allocations: 144.9 kB / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4293, allocations: 0 / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4293, allocations: 0 / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4293, allocations: 0 / 435.4 MB, free: 4.051 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.0007205/0.43, allocations: 462.7 kB / 435.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4301, allocations: 8.031 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.4303, allocations: 28.83 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.4307, allocations: 253 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4307, allocations: 16.12 kB / 436.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.4307, allocations: 4 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.4314, allocations: 282.9 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4314, allocations: 7.875 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4314, allocations: 0 / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4314, allocations: 4 kB / 436.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.4317, allocations: 75.89 kB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.4322, allocations: 427.4 kB / 436.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.4328, allocations: 286 kB / 437.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.433, allocations: 104.4 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.433, allocations: 3.984 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.433, allocations: 42.56 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.433, allocations: 0 / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006229/0.4336, allocations: 217.3 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.4338, allocations: 200.2 kB / 437.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.434, allocations: 182.9 kB / 437.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.434, allocations: 25.7 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4342, allocations: 108.1 kB / 438.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.4342, allocations: 11.94 kB / 438.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.4342, allocations: 37.66 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4344, allocations: 322.8 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.4345, allocations: 24.36 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4346, allocations: 134.5 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.4349, allocations: 161.5 kB / 438.7 MB, free: 252 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4349, allocations: 4 kB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003225/0.4352, allocations: 165.6 kB / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4352, allocations: 11.94 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4353, allocations: 8.219 kB / 438.9 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.4353, allocations: 4 kB / 438.9 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4354, allocations: 35.92 kB / 439 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/0.4355, allocations: 15.95 kB / 439 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4356, allocations: 11.98 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.4356, allocations: 11.98 kB / 439 MB, free: 15.97 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.0001559/0.4357, allocations: 137.8 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.4361, allocations: 153.3 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.4361, allocations: 21.39 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4361, allocations: 4 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4361, allocations: 0 / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4361, allocations: 4 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.4364, allocations: 209.6 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4364, allocations: 4 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4366, allocations: 39.91 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.4366, allocations: 3.938 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.4366, allocations: 8.031 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4366, allocations: 0 / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4366, allocations: 0 / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.4371, allocations: 364.3 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4372, allocations: 112.9 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.4373, allocations: 15.94 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4374, allocations: 11.98 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4374, allocations: 0 / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4375, allocations: 4 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.4376, allocations: 136.4 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4376, allocations: 0 / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.4379, allocations: 24 kB / 440.2 MB, free: 14.64 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.0001472/0.4381, allocations: 103.2 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.4384, allocations: 112.5 kB / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4384, allocations: 0 / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.4384, allocations: 24 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.4392, allocations: 95.91 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.4401, allocations: 371.2 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.4406, allocations: 0.7163 MB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.4406, allocations: 21.55 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.4407, allocations: 15.44 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4407, allocations: 0 / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005819/0.4465, allocations: 1.774 MB / 443.4 MB, free: 11.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.172667969018221]