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.001617/0.001617, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.001763/0.001763, allocations: 215.3 kB / 23 MB, free: 5.609 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.664/1.664, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.002689/0.002689, allocations: 71.88 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3557, allocations: 53.31 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003586/0.3593, allocations: 1.901 MB / 431.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3609, allocations: 0.709 MB / 432.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.361, allocations: 4 kB / 432.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3612, allocations: 19.73 kB / 432.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.3613, allocations: 23.8 kB / 432.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3618, allocations: 111.6 kB / 432.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.3621, allocations: 151.5 kB / 432.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3623, allocations: 49.7 kB / 432.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3625, allocations: 59.7 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3626, allocations: 55.66 kB / 432.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.3627, allocations: 12 kB / 432.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.3627, allocations: 16 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.3628, allocations: 23.92 kB / 432.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.3629, allocations: 71.48 kB / 433 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.3632, allocations: 144.6 kB / 433.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3632, allocations: 0 / 433.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3632, allocations: 4 kB / 433.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3632, allocations: 0 / 433.1 MB, free: 4.176 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.0008404/0.3641, allocations: 462.7 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3641, allocations: 8.031 kB / 433.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.3643, allocations: 28.83 kB / 433.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.3648, allocations: 257 kB / 433.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3649, allocations: 12.12 kB / 433.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3649, allocations: 8 kB / 433.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.3656, allocations: 291 kB / 434.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3656, allocations: 0 / 434.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.3656, allocations: 4 kB / 434.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3656, allocations: 4 kB / 434.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3659, allocations: 75.88 kB / 434.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.3667, allocations: 427.4 kB / 434.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.3673, allocations: 282.2 kB / 435 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3675, allocations: 108.2 kB / 435.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.3675, allocations: 4 kB / 435.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3676, allocations: 42.5 kB / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3676, allocations: 0 / 435.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000657/0.3682, allocations: 225.3 kB / 435.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.3684, allocations: 191.9 kB / 435.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3687, allocations: 182.2 kB / 435.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3687, allocations: 30.08 kB / 435.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.3688, allocations: 108.5 kB / 435.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3688, allocations: 19.88 kB / 435.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.3689, allocations: 41.66 kB / 435.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3691, allocations: 322.8 kB / 436.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.3691, allocations: 23.98 kB / 436.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3693, allocations: 139.4 kB / 436.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3696, allocations: 178.3 kB / 436.5 MB, free: 324 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3696, allocations: 7.984 kB / 436.5 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002767/0.3698, allocations: 165.2 kB / 436.7 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3699, allocations: 8.531 kB / 436.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3699, allocations: 8 kB / 436.7 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3699, allocations: 7.984 kB / 436.7 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.37, allocations: 39.92 kB / 436.8 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.3701, allocations: 15.94 kB / 436.8 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.611e-05/0.3702, allocations: 11.89 kB / 436.8 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3702, allocations: 12 kB / 436.8 MB, free: 40 kB / 334.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.0001507/0.3703, allocations: 137.7 kB / 436.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.3706, allocations: 145.5 kB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.3707, allocations: 25.39 kB / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3707, allocations: 4 kB / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3707, allocations: 0 / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3707, allocations: 3.938 kB / 437.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.371, allocations: 221.5 kB / 437.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.371, allocations: 4 kB / 437.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3712, allocations: 43.91 kB / 437.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3712, allocations: 240 / 437.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3712, allocations: 4 kB / 437.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3712, allocations: 7.969 kB / 437.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3712, allocations: 4 kB / 437.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.3717, allocations: 367.6 kB / 437.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.3718, allocations: 112.9 kB / 437.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3719, allocations: 11.98 kB / 437.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.372, allocations: 4 kB / 437.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.372, allocations: 11.92 kB / 437.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3721, allocations: 11.94 kB / 437.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3722, allocations: 140.3 kB / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3722, allocations: 0 / 438 MB, free: 14.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.3726, allocations: 24 kB / 438.1 MB, free: 14.67 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.0002135/0.3728, allocations: 99.25 kB / 438.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.3732, allocations: 116.6 kB / 438.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3732, allocations: 0 / 438.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.3732, allocations: 16.12 kB / 438.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.374, allocations: 112 kB / 438.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007944/0.3748, allocations: 323.3 kB / 438.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.3753, allocations: 0.7396 MB / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.3753, allocations: 17.55 kB / 439.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.3754, allocations: 15.44 kB / 439.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3754, allocations: 4 kB / 439.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Templates: time 0.005724/0.3811, allocations: 1.832 MB / 441.3 MB, free: 11.36 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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: 5.2022077748551965]