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.001769/0.001769, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001416/0.001416, allocations: 210 kB / 24.48 MB, free: 3.941 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001514/0.001514, allocations: 43.94 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2339, allocations: 53.35 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003225/0.2371, allocations: 1.853 MB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2384, allocations: 0.6545 MB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2385, allocations: 7.938 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2386, allocations: 23.73 kB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2388, allocations: 27.78 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.2391, allocations: 115.7 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.2393, allocations: 139.6 kB / 435.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2395, allocations: 53.48 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2396, allocations: 67.7 kB / 435.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.2397, allocations: 47.72 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.2397, allocations: 8 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.2398, allocations: 20 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.2398, allocations: 31.91 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.2399, allocations: 43.67 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.2401, allocations: 158.2 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2401, allocations: 0 / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2401, allocations: 4 kB / 435.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2401, allocations: 4 kB / 435.6 MB, free: 3.473 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.0006007/0.2407, allocations: 377.6 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2408, allocations: 12.03 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.2409, allocations: 20.84 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.2413, allocations: 194.3 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2413, allocations: 12.12 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2413, allocations: 8 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.2419, allocations: 301.5 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.242, allocations: 7.938 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.242, allocations: 4 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.242, allocations: 4 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.2422, allocations: 75.88 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.2427, allocations: 351.1 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.2431, allocations: 209 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.2433, allocations: 108.2 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2433, allocations: 4 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2434, allocations: 38.56 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.2434, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005816/0.244, allocations: 221.5 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.2441, allocations: 195.9 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2443, allocations: 183.2 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2443, allocations: 25.7 kB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.2444, allocations: 112 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.2444, allocations: 15.94 kB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.2445, allocations: 29.72 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2446, allocations: 326.8 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.2447, allocations: 23.98 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2449, allocations: 163 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.2451, allocations: 161.5 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2451, allocations: 0 / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002939/0.2454, allocations: 165.3 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2454, allocations: 8 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2454, allocations: 7.984 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2454, allocations: 11.94 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2456, allocations: 31.92 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.2456, allocations: 11.94 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.996e-05/0.2457, allocations: 12.39 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2457, allocations: 12.38 kB / 438.9 MB, free: 15.71 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.0001372/0.2459, allocations: 137.8 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.2462, allocations: 145.4 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.2462, allocations: 25.33 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2462, allocations: 4 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2462, allocations: 0 / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2462, allocations: 0 / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2465, allocations: 153.2 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2465, allocations: 4.031 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2466, allocations: 39.91 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2466, allocations: 0 / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2466, allocations: 11.94 kB / 439.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2466, allocations: 3.938 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2467, allocations: 4 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.2471, allocations: 349.4 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.2472, allocations: 39.86 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2472, allocations: 8 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2473, allocations: 15.92 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2474, allocations: 3.984 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2474, allocations: 12 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2475, allocations: 128.4 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2475, allocations: 0 / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.2478, allocations: 20 kB / 440 MB, free: 14.55 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.0001089/0.2479, allocations: 103.2 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.2482, allocations: 111.7 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2482, allocations: 0 / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.2483, allocations: 19.92 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.0006578/0.2489, allocations: 103.9 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2503, allocations: 451.2 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2504, allocations: 110.8 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.2505, allocations: 17.48 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.2505, allocations: 15.44 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2505, allocations: 0 / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Templates: time 0.005168/0.2557, allocations: 2.016 MB / 443 MB, free: 11.59 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 -s gbode -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: 4.342508033994818]