Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001677/0.001677, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.00202/0.00202, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.5 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 64.12 kB / 374.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1116, allocations: 53.3 MB / 428.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003874/0.1155, allocations: 1.883 MB / 429.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1171, allocations: 0.7052 MB / 430.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.1173, allocations: 4 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.1175, allocations: 23.73 kB / 430.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1177, allocations: 23.8 kB / 430.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.1182, allocations: 115.6 kB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1185, allocations: 135.6 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.1187, allocations: 45.69 kB / 431 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1189, allocations: 63.72 kB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.119, allocations: 55.64 kB / 431.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.119, allocations: 8 kB / 431.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.1191, allocations: 20 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.1191, allocations: 31.86 kB / 431.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.1192, allocations: 63.55 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.1195, allocations: 155.2 kB / 431.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1195, allocations: 4 kB / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1196, allocations: 0 / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1196, allocations: 0 / 431.4 MB, free: 1.004 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.0007717/0.1203, allocations: 450.8 kB / 431.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1204, allocations: 16.03 kB / 431.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.1206, allocations: 24.83 kB / 431.9 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.121, allocations: 252.1 kB / 432.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.121, allocations: 12.12 kB / 432.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.121, allocations: 8 kB / 432.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2377/0.3587, allocations: 269.6 kB / 432.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3587, allocations: 3 kB / 432.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3588, allocations: 5.375 kB / 432.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3588, allocations: 6.625 kB / 432.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.359, allocations: 73.39 kB / 432.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.3597, allocations: 428.5 kB / 432.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.3602, allocations: 288.8 kB / 433.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3604, allocations: 102.3 kB / 433.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.3605, allocations: 7.938 kB / 433.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3605, allocations: 45.41 kB / 433.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.096e-06/0.3605, allocations: 0 / 433.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007795/0.3613, allocations: 216.1 kB / 433.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.3614, allocations: 196 kB / 433.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3616, allocations: 186.4 kB / 433.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3617, allocations: 26.98 kB / 433.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3617, allocations: 102.8 kB / 434 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3617, allocations: 14.97 kB / 434.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.3618, allocations: 37.56 kB / 434.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.3619, allocations: 323.4 kB / 434.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.362, allocations: 28.25 kB / 434.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3621, allocations: 135.4 kB / 434.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3623, allocations: 156.8 kB / 434.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3623, allocations: 1.844 kB / 434.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002794/0.3626, allocations: 162.2 kB / 434.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3626, allocations: 6.375 kB / 434.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3626, allocations: 7.062 kB / 434.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.3627, allocations: 6.562 kB / 434.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3628, allocations: 33.19 kB / 434.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3628, allocations: 12.12 kB / 434.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3629, allocations: 23.08 kB / 435 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.363, allocations: 7.25 kB / 435 MB, free: 9.633 MB / 350.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.0001007/0.3631, allocations: 134.2 kB / 435.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.3633, allocations: 140.7 kB / 435.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.3634, allocations: 28.89 kB / 435.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3634, allocations: 4.438 kB / 435.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3634, allocations: 0 / 435.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3634, allocations: 8.375 kB / 435.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.3636, allocations: 218.3 kB / 435.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3636, allocations: 3.938 kB / 435.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3637, allocations: 44.09 kB / 435.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3637, allocations: 0 / 435.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3638, allocations: 4.188 kB / 435.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3638, allocations: 0 / 435.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3638, allocations: 8.391 kB / 435.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.3641, allocations: 359.1 kB / 435.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.3642, allocations: 115.7 kB / 436 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3642, allocations: 2.312 kB / 436 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3643, allocations: 12.09 kB / 436 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3644, allocations: 7.766 kB / 436 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3644, allocations: 4.469 kB / 436 MB, free: 8.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.803e-05/0.3645, allocations: 133.1 kB / 436.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3645, allocations: 0 / 436.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3648, allocations: 20.41 kB / 436.2 MB, free: 8.828 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.0001172/0.3649, allocations: 112.8 kB / 436.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3652, allocations: 110.2 kB / 436.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3652, allocations: 1.469 kB / 436.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.3653, allocations: 11.03 kB / 436.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.3659, allocations: 109.4 kB / 436.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.3667, allocations: 401.3 kB / 436.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.3669, allocations: 0.7199 MB / 437.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.367, allocations: 20 kB / 437.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.367, allocations: 0 / 437.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Templates: time 0.004441/0.3714, allocations: 1.801 MB / 439.5 MB, free: 7.645 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.094030376989394]