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.001829/0.001829, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002299/0.002299, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.575/1.575, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.001857/0.001857, allocations: 67.88 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 53.32 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004023/0.1196, allocations: 1.877 MB / 429.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1213, allocations: 0.7013 MB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1215, allocations: 7.938 kB / 430.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1216, allocations: 23.8 kB / 430.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1218, allocations: 31.72 kB / 430.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.1223, allocations: 111.6 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1225, allocations: 143.5 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1227, allocations: 41.72 kB / 430.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1229, allocations: 59.77 kB / 430.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.123, allocations: 59.64 kB / 430.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.1231, allocations: 12 kB / 430.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.1231, allocations: 16 kB / 430.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.1232, allocations: 31.84 kB / 431 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.1233, allocations: 63.61 kB / 431 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1236, allocations: 147.2 kB / 431.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.1236, allocations: 7.984 kB / 431.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1236, allocations: 3.938 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1236, allocations: 0 / 431.2 MB, free: 1.141 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.000844/0.1245, allocations: 458.8 kB / 431.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.1245, allocations: 12.03 kB / 431.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.1248, allocations: 20.84 kB / 431.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.1253, allocations: 244.2 kB / 431.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1253, allocations: 16.11 kB / 431.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1253, allocations: 19.94 kB / 431.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.126, allocations: 269.3 kB / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.126, allocations: 0 / 432.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.126, allocations: 4 kB / 432.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.126, allocations: 7.938 kB / 432.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.1263, allocations: 71.88 kB / 432.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.127, allocations: 435.4 kB / 432.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.1275, allocations: 286.1 kB / 433 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1277, allocations: 96.31 kB / 433.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.1277, allocations: 11.94 kB / 433.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1278, allocations: 42.5 kB / 433.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1278, allocations: 0 / 433.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006151/0.1284, allocations: 221.5 kB / 433.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.1285, allocations: 191.9 kB / 433.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1287, allocations: 178.3 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1288, allocations: 29.7 kB / 433.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.1288, allocations: 108.1 kB / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1289, allocations: 7.984 kB / 433.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1289, allocations: 37.77 kB / 433.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1291, allocations: 334.8 kB / 434.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.1292, allocations: 19.98 kB / 434.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1293, allocations: 130.5 kB / 434.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.1296, allocations: 165.5 kB / 434.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1296, allocations: 0 / 434.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002853/0.1299, allocations: 165.4 kB / 434.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1299, allocations: 7.938 kB / 434.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1299, allocations: 4.188 kB / 434.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1299, allocations: 4 kB / 434.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.13, allocations: 35.92 kB / 434.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.13, allocations: 4 kB / 434.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1302, allocations: 20.3 kB / 434.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1302, allocations: 12 kB / 434.8 MB, free: 13.09 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.0001287/0.1303, allocations: 137.8 kB / 434.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.1306, allocations: 145.3 kB / 435 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.1307, allocations: 25.39 kB / 435.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1307, allocations: 4.469 kB / 435.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1307, allocations: 4 kB / 435.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1307, allocations: 0 / 435.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.131, allocations: 221.5 kB / 435.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.131, allocations: 4 kB / 435.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1311, allocations: 43.86 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1311, allocations: 3.938 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1312, allocations: 11.98 kB / 435.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1312, allocations: 0 / 435.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1312, allocations: 7.938 kB / 435.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.1316, allocations: 351.4 kB / 435.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.1317, allocations: 109 kB / 435.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1317, allocations: 7.938 kB / 435.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1319, allocations: 11.98 kB / 435.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1319, allocations: 12 kB / 435.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1319, allocations: 4 kB / 435.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1321, allocations: 136.3 kB / 436 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 0 / 436 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.1324, allocations: 27.94 kB / 436 MB, free: 11.74 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.0001383/0.1325, allocations: 107.2 kB / 436.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1328, allocations: 107.7 kB / 436.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1328, allocations: 4 kB / 436.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.1329, allocations: 11.98 kB / 436.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.1336, allocations: 102.2 kB / 436.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.1345, allocations: 389.1 kB / 436.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1349, allocations: 0.7319 MB / 437.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.1349, allocations: 19.38 kB / 437.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1349, allocations: 3.938 kB / 437.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Templates: time 0.00393/0.1388, allocations: 1.794 MB / 439.3 MB, free: 8.418 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/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_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: 7.281029981793836]