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.00139/0.00139, 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.001762/0.001762, allocations: 213.5 kB / 22.99 MB, free: 5.605 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.616/1.616, 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.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.001965/0.001965, allocations: 67.88 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3882, allocations: 53.31 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.0036/0.3918, allocations: 1.901 MB / 431.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3932, allocations: 0.7051 MB / 432.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3934, allocations: 4 kB / 432.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.3935, allocations: 19.73 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3936, allocations: 27.8 kB / 432.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3941, allocations: 118.9 kB / 432.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3943, allocations: 143.6 kB / 432.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3945, allocations: 49.7 kB / 432.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3946, allocations: 55.72 kB / 432.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3947, allocations: 59.64 kB / 432.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3948, allocations: 12 kB / 432.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.3948, allocations: 16 kB / 432.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.3949, allocations: 27.91 kB / 432.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.395, allocations: 71.48 kB / 433 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.3952, allocations: 148.6 kB / 433.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3952, allocations: 0 / 433.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3952, allocations: 0 / 433.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3953, 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.0007263/0.396, allocations: 458.8 kB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.396, allocations: 8.031 kB / 433.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.3962, allocations: 24.84 kB / 433.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3966, allocations: 264.9 kB / 433.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3966, allocations: 12.12 kB / 433.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3966, allocations: 8 kB / 433.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3973, allocations: 274 kB / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3973, allocations: 0 / 434.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3973, allocations: 4 kB / 434.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3973, allocations: 4 kB / 434.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.3975, allocations: 79.88 kB / 434.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.3982, allocations: 431.4 kB / 434.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.3987, allocations: 282.2 kB / 435 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.3989, allocations: 112.2 kB / 435.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.399, allocations: 4 kB / 435.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.399, allocations: 42.5 kB / 435.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.399, allocations: 0 / 435.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005934/0.3996, allocations: 213.3 kB / 435.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/0.3998, allocations: 200.2 kB / 435.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.4, allocations: 178.3 kB / 435.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.4, allocations: 29.7 kB / 435.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.4001, allocations: 108.1 kB / 435.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4001, allocations: 19.86 kB / 435.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4002, allocations: 37.7 kB / 435.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4004, allocations: 322.8 kB / 436.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.4004, allocations: 23.98 kB / 436.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4006, allocations: 130.4 kB / 436.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.4008, allocations: 165.6 kB / 436.5 MB, free: 376 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4008, allocations: 4 kB / 436.5 MB, free: 372 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002935/0.4011, allocations: 169.2 kB / 436.7 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4011, allocations: 12.38 kB / 436.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4011, allocations: 8 kB / 436.7 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4012, allocations: 4 kB / 436.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4013, allocations: 35.92 kB / 436.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.4013, allocations: 4 kB / 436.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.4014, allocations: 11.95 kB / 436.7 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.4014, allocations: 15.98 kB / 436.8 MB, free: 104 kB / 334.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.0001429/0.4016, allocations: 129.7 kB / 436.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.4018, allocations: 153.8 kB / 437 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.4019, allocations: 21.39 kB / 437.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4019, allocations: 4 kB / 437.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4019, allocations: 0 / 437.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4019, allocations: 4 kB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.4022, allocations: 217.5 kB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4022, allocations: 0 / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.4024, allocations: 39.92 kB / 437.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4024, allocations: 7.922 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4024, allocations: 4.031 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4024, allocations: 4 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4024, allocations: 4 kB / 437.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.4028, allocations: 355.8 kB / 437.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.403, allocations: 112.9 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.403, allocations: 3.938 kB / 437.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4031, allocations: 15.98 kB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4032, allocations: 4 kB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.4032, allocations: 4 kB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.4033, allocations: 136.3 kB / 438 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 438 MB, free: 14.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.4036, allocations: 24 kB / 438 MB, free: 14.77 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: 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.0001425/0.4037, allocations: 111.2 kB / 438.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.404, allocations: 108.5 kB / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.404, allocations: 0 / 438.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/0.4041, allocations: 16.11 kB / 438.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.4047, allocations: 104.6 kB / 438.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.4056, allocations: 371.2 kB / 438.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.406, allocations: 0.728 MB / 439.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.4061, allocations: 21.48 kB / 439.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.4061, allocations: 15.44 kB / 439.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4061, allocations: 0 / 439.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Templates: time 0.005182/0.4113, allocations: 1.756 MB / 441.2 MB, free: 11.5 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.064991157501936]