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.001066/0.001066, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002604, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001007/0.001007, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002363, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.088/1.088, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08487/1.173, allocations: 53.88 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.29e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002472/0.002495, allocations: 1.946 MB / 247.2 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.003445, allocations: 0.7048 MB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003557, allocations: 11.88 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.003647, allocations: 15.8 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.003729, allocations: 27.73 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.004007, allocations: 115.6 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.004179, allocations: 143.5 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.004306, allocations: 46.48 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.004503, allocations: 99.72 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.004582, allocations: 39.84 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.004604, allocations: 12 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.004669, allocations: 12 kB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.004721, allocations: 23.94 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.004772, allocations: 27.88 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.004958, allocations: 95.53 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.42e-05/0.004972, allocations: 0 / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.004973, allocations: 0 / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.004983, allocations: 0 / 248.5 MB, free: 10.24 MB / 250.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.0004869/0.00547, allocations: 372 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.005502, allocations: 19.97 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.005665, allocations: 106 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.00588, allocations: 182.4 kB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.005899, allocations: 8.562 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.005917, allocations: 16.36 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.006211, allocations: 264 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006219, allocations: 0 / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006229, allocations: 0 / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006235, allocations: 4 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.006278, allocations: 35.86 kB / 249.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.006532, allocations: 266.9 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.006706, allocations: 152.8 kB / 249.9 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.006762, allocations: 72.2 kB / 250 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.006784, allocations: 8 kB / 250 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.00681, allocations: 38.55 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.006812, allocations: 0 / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001965/0.007009, allocations: 113.6 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.00709, allocations: 170.2 kB / 250.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.007185, allocations: 170.8 kB / 250.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.007201, allocations: 33.7 kB / 250.5 MB, free: 7.984 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.00724, allocations: 92.48 kB / 250.6 MB, free: 7.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.007259, allocations: 15.89 kB / 250.6 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007291, allocations: 21.66 kB / 250.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.007383, allocations: 322.8 kB / 250.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.007393, allocations: 0 / 250.9 MB, free: 7.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.007432, allocations: 65.09 kB / 251 MB, free: 7.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.007466, allocations: 26.52 kB / 251 MB, free: 7.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007469, allocations: 4.031 kB / 251 MB, free: 7.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.165e-05/0.00753, allocations: 57.55 kB / 251.1 MB, free: 7.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.007546, allocations: 4 kB / 251.1 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007551, allocations: 0 / 251.1 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.007564, allocations: 4 kB / 251.1 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.007628, allocations: 15.92 kB / 251.1 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.007632, allocations: 4 kB / 251.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.007662, allocations: 4 kB / 251.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007667, allocations: 0 / 251.1 MB, free: 7.305 MB / 250.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 7.921e-05/0.007746, allocations: 120.8 kB / 251.2 MB, free: 7.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.007839, allocations: 85.53 kB / 251.3 MB, free: 7.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.007873, allocations: 25.45 kB / 251.4 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.007883, allocations: 4 kB / 251.4 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.007886, allocations: 0 / 251.4 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.00789, allocations: 0 / 251.4 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.008035, allocations: 105.7 kB / 251.5 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008036, allocations: 0 / 251.5 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.008113, allocations: 43.91 kB / 251.5 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.008159, allocations: 31.77 kB / 251.5 MB, free: 6.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008162, allocations: 7.969 kB / 251.5 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.008171, allocations: 8 kB / 251.5 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.008175, allocations: 7.984 kB / 251.6 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008178, allocations: 4 kB / 251.6 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.008301, allocations: 225.3 kB / 251.8 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.008322, allocations: 11.94 kB / 251.8 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.008391, allocations: 11.98 kB / 251.8 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.008417, allocations: 4 kB / 251.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.008424, allocations: 4 kB / 251.8 MB, free: 6.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.008467, allocations: 57.88 kB / 251.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008467, allocations: 0 / 251.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.008617, allocations: 12 kB / 251.9 MB, free: 6.492 MB / 250.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.0001025/0.008719, allocations: 92.34 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.008817, allocations: 36.84 kB / 252 MB, free: 6.352 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.008827, allocations: 0 / 252 MB, free: 6.352 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.008854, allocations: 12.8 kB / 252 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.009277, allocations: 339.3 kB / 252.4 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.01017, allocations: 319.9 kB / 252.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.01023, allocations: 75.83 kB / 252.7 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.01028, allocations: 13.14 kB / 252.7 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01039, allocations: 87.28 kB / 252.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01039, allocations: 128 / 252.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of Templates: time 0.004096/0.01448, allocations: 2.007 MB / 254.8 MB, free: 3.43 MB / 250.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5309885190799832]