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.001769/0.001769, allocations: 112.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.001982/0.001982, allocations: 210.5 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.477/1.477, allocations: 230.2 MB / 255.1 MB, free: 15.44 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.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.001843/0.001843, allocations: 67.89 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1103, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00342/0.1137, allocations: 1.875 MB / 429.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1151, allocations: 0.7013 MB / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1152, allocations: 11.94 kB / 430.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1154, allocations: 15.8 kB / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1155, allocations: 35.66 kB / 430.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1159, allocations: 111.6 kB / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1161, allocations: 143.6 kB / 430.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1163, allocations: 41.72 kB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1164, allocations: 63.7 kB / 430.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1166, allocations: 59.64 kB / 430.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1166, allocations: 8 kB / 430.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.1166, allocations: 20 kB / 430.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.1167, allocations: 31.86 kB / 431 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.1168, allocations: 63.59 kB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.117, allocations: 147.2 kB / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.117, allocations: 0 / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.117, allocations: 0 / 431.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.117, allocations: 0 / 431.2 MB, free: 1.191 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.0007079/0.1177, allocations: 462.7 kB / 431.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1178, allocations: 12.02 kB / 431.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1179, allocations: 28.84 kB / 431.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.1183, allocations: 248.2 kB / 431.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.1184, allocations: 16.12 kB / 431.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1184, allocations: 4 kB / 431.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.119, allocations: 288.2 kB / 432.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.119, allocations: 3.938 kB / 432.2 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.119, allocations: 4 kB / 432.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.119, allocations: 4 kB / 432.2 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.1193, allocations: 75.95 kB / 432.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.1198, allocations: 431.4 kB / 432.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1203, allocations: 286 kB / 433 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.1205, allocations: 100.4 kB / 433.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1205, allocations: 7.984 kB / 433.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.1206, allocations: 42.5 kB / 433.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.1206, allocations: 4 kB / 433.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005956/0.1212, allocations: 221.2 kB / 433.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.1213, allocations: 196.3 kB / 433.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1215, allocations: 186.2 kB / 433.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1215, allocations: 29.64 kB / 433.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1216, allocations: 104.5 kB / 433.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1216, allocations: 15.94 kB / 433.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.1217, allocations: 37.67 kB / 433.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1218, allocations: 326.8 kB / 434.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1219, allocations: 31.98 kB / 434.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1221, allocations: 138.4 kB / 434.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1223, allocations: 166.4 kB / 434.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1223, allocations: 4 kB / 434.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003037/0.1226, allocations: 177.3 kB / 434.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1226, allocations: 8 kB / 434.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1226, allocations: 4 kB / 434.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1226, allocations: 4 kB / 434.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1228, allocations: 35.92 kB / 434.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1228, allocations: 7.984 kB / 434.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1229, allocations: 24.27 kB / 434.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1229, allocations: 12 kB / 434.8 MB, free: 13.05 MB / 366.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.0001294/0.123, allocations: 133.8 kB / 435 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.1233, allocations: 145.4 kB / 435.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.1234, allocations: 25.39 kB / 435.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1234, allocations: 4 kB / 435.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1234, allocations: 4 kB / 435.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1234, allocations: 3.938 kB / 435.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.1237, allocations: 221.5 kB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1237, allocations: 0 / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1239, allocations: 43.91 kB / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1239, allocations: 4 kB / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1239, allocations: 0 / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1239, allocations: 4 kB / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1239, allocations: 0 / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.1244, allocations: 371.4 kB / 435.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1245, allocations: 116.9 kB / 435.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1245, allocations: 8 kB / 435.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1246, allocations: 12.22 kB / 435.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1247, allocations: 11.94 kB / 435.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1247, allocations: 8 kB / 435.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1248, allocations: 140.3 kB / 436.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1248, allocations: 3.938 kB / 436.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.1251, allocations: 23.95 kB / 436.1 MB, free: 11.68 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: 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.0001452/0.1253, allocations: 105.3 kB / 436.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1256, allocations: 123.8 kB / 436.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1256, allocations: 3.938 kB / 436.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.1256, allocations: 11.98 kB / 436.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.1263, allocations: 99.64 kB / 436.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.127, allocations: 352.8 kB / 436.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1273, allocations: 0.728 MB / 437.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1274, allocations: 23.42 kB / 437.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1274, allocations: 0 / 437.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Templates: time 0.004107/0.1315, allocations: 1.85 MB / 439.4 MB, free: 8.34 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.558258786099032]