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.001411/0.001411, allocations: 79.75 kB / 21.25 MB, free: 388 kB / 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.001429/0.001429, allocations: 166.2 kB / 24.5 MB, free: 3.441 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.539/1.539, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.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.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 0.001946/0.001946, allocations: 61.39 kB / 325.5 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1365, allocations: 53.38 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003468/0.14, allocations: 1.849 MB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1413, allocations: 0.6546 MB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1414, allocations: 7.938 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.1416, allocations: 23.73 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1417, allocations: 27.78 kB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1421, allocations: 115.6 kB / 381.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1424, allocations: 147.5 kB / 381.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.1425, allocations: 41.97 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1427, allocations: 63.7 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1428, allocations: 47.7 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1428, allocations: 12 kB / 381.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.1429, allocations: 16 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.1429, allocations: 35.84 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.143, allocations: 43.73 kB / 382 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1432, allocations: 155.2 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1432, allocations: 4 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1432, allocations: 0 / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1432, allocations: 0 / 382.1 MB, free: 12.26 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.0006463/0.1439, allocations: 381.6 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1439, allocations: 11.98 kB / 382.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.1441, allocations: 28.83 kB / 382.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1445, allocations: 190.9 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1445, allocations: 12.12 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1445, allocations: 8 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.1451, allocations: 311 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1451, allocations: 4 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1452, allocations: 8 kB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1452, allocations: 3.938 kB / 383.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1454, allocations: 71.88 kB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.1458, allocations: 359.1 kB / 383.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.1463, allocations: 205 kB / 383.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1465, allocations: 104.3 kB / 383.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1465, allocations: 8 kB / 383.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1466, allocations: 38.55 kB / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.1466, allocations: 0 / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005515/0.1471, allocations: 225.8 kB / 384.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1473, allocations: 200 kB / 384.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1475, allocations: 183.2 kB / 384.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.1475, allocations: 29.7 kB / 384.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.1475, allocations: 100.5 kB / 384.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1476, allocations: 15.89 kB / 384.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.1476, allocations: 41.66 kB / 384.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1478, allocations: 330.8 kB / 384.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.1478, allocations: 23.98 kB / 385 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.148, allocations: 169.2 kB / 385.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.1483, allocations: 170.4 kB / 385.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1483, allocations: 0 / 385.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002915/0.1486, allocations: 181.2 kB / 385.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1486, allocations: 8 kB / 385.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1486, allocations: 4 kB / 385.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1486, allocations: 4 kB / 385.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1487, allocations: 39.92 kB / 385.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1487, allocations: 8.469 kB / 385.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1488, allocations: 27.94 kB / 385.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.1489, allocations: 11.94 kB / 385.6 MB, free: 8.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (19): * Single equations (assignments): 19 * 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.0001368/0.149, allocations: 134 kB / 385.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.1493, allocations: 153.3 kB / 385.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.1493, allocations: 17.47 kB / 385.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1493, allocations: 4 kB / 385.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1493, allocations: 3.938 kB / 385.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.1494, allocations: 7.984 kB / 385.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1496, allocations: 157.2 kB / 386 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1496, allocations: 0 / 386 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1497, allocations: 31.98 kB / 386.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1497, allocations: 4 kB / 386.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1497, allocations: 7.984 kB / 386.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1497, allocations: 4 kB / 386.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1497, allocations: 3.938 kB / 386.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.1502, allocations: 365 kB / 386.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1503, allocations: 39.84 kB / 386.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1503, allocations: 0 / 386.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1505, allocations: 15.98 kB / 386.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1505, allocations: 4 kB / 386.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1505, allocations: 4 kB / 386.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1506, allocations: 136.4 kB / 386.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1506, allocations: 4 kB / 386.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1509, allocations: 23.94 kB / 386.7 MB, free: 7.238 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: 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.000115/0.151, allocations: 107.2 kB / 386.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.1513, allocations: 111.8 kB / 386.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1513, allocations: 0 / 386.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.1514, allocations: 17.05 kB / 386.9 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.152, allocations: 104.1 kB / 387 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.1526, allocations: 323.3 kB / 387.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.1528, allocations: 115.6 kB / 387.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.1528, allocations: 17.48 kB / 387.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1529, allocations: 20.44 kB / 387.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1529, allocations: 0 / 387.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Templates: time 0.005951/0.1588, allocations: 1.957 MB / 389.4 MB, free: 4.449 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.67566606902983]