Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001715/0.001715, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.00207/0.00207, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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.721/1.721, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003126/0.003126, allocations: 63.89 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2138, allocations: 53.31 MB / 427.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.006292/0.2201, allocations: 1.885 MB / 429 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2223, allocations: 0.7013 MB / 429.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.2226, allocations: 7.938 kB / 429.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.2228, allocations: 23.73 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.223, allocations: 23.8 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.2237, allocations: 117.7 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.224, allocations: 143.6 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.2243, allocations: 45.72 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.2245, allocations: 63.7 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2247, allocations: 51.7 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.2247, allocations: 16 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.2248, allocations: 16 kB / 430.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.2249, allocations: 27.86 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.225, allocations: 63.61 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.2254, allocations: 155.2 kB / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2254, allocations: 0 / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2254, allocations: 0 / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.2254, allocations: 0 / 430.5 MB, free: 1.117 MB / 350.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.001042/0.2264, allocations: 458.8 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.2265, allocations: 12.03 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.2268, allocations: 24.84 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.2274, allocations: 252.1 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.2275, allocations: 12.12 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.2275, allocations: 12 kB / 431.2 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.2285, allocations: 270.8 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.2285, allocations: 3.938 kB / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2285, allocations: 0 / 431.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2285, allocations: 7.938 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.2289, allocations: 75.88 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.2297, allocations: 431.4 kB / 432 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.2306, allocations: 286.1 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.2309, allocations: 112.2 kB / 432.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.2309, allocations: 8 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.231, allocations: 34.56 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.066e-06/0.231, allocations: 0 / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009643/0.232, allocations: 225.6 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.2322, allocations: 195.9 kB / 432.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.2325, allocations: 178.3 kB / 433 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2325, allocations: 25.7 kB / 433 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2327, allocations: 112.1 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.2327, allocations: 7.984 kB / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.2328, allocations: 37.66 kB / 433.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.233, allocations: 330.9 kB / 433.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2331, allocations: 19.98 kB / 433.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.2334, allocations: 133 kB / 433.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.2338, allocations: 161.5 kB / 433.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2338, allocations: 0 / 433.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004964/0.2343, allocations: 169.5 kB / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.2343, allocations: 7.938 kB / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2343, allocations: 4 kB / 434 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/0.2344, allocations: 4 kB / 434 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2346, allocations: 35.92 kB / 434 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.2346, allocations: 7.938 kB / 434.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2348, allocations: 15.94 kB / 434.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2348, allocations: 12.27 kB / 434.1 MB, free: 13.06 MB / 366.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.0002091/0.235, allocations: 129.8 kB / 434.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.2356, allocations: 153.6 kB / 434.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.497e-05/0.2356, allocations: 21.39 kB / 434.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.2357, allocations: 4 kB / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.2357, allocations: 0 / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2357, allocations: 4 kB / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.2362, allocations: 221.5 kB / 434.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2362, allocations: 8.031 kB / 434.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.2365, allocations: 39.86 kB / 434.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.2365, allocations: 7.922 kB / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.2365, allocations: 8 kB / 434.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2365, allocations: 0 / 434.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2365, allocations: 4 kB / 434.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.2372, allocations: 353.1 kB / 435 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.2374, allocations: 109 kB / 435.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.2375, allocations: 7.938 kB / 435.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2377, allocations: 11.98 kB / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2378, allocations: 0 / 435.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.2378, allocations: 16 kB / 435.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.238, allocations: 136.3 kB / 435.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.238, allocations: 0 / 435.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.2386, allocations: 20 kB / 435.3 MB, free: 11.71 MB / 366.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.0002268/0.2388, allocations: 107.2 kB / 435.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.2393, allocations: 112 kB / 435.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2393, allocations: 0 / 435.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.2394, allocations: 19.92 kB / 435.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2406, allocations: 105.3 kB / 435.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2422, allocations: 368.4 kB / 436 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.2428, allocations: 0.7241 MB / 436.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2429, allocations: 17.53 kB / 436.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.243, allocations: 15.44 kB / 436.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.243, allocations: 0 / 436.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Templates: time 0.008543/0.2516, allocations: 1.707 MB / 438.5 MB, free: 8.508 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.606175873428583]