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.001376/0.001376, allocations: 117 kB / 21.18 MB, free: 0.6289 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.00158/0.00158, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.538/1.538, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.001977/0.001977, allocations: 67.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3911, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004367/0.3954, allocations: 1.897 MB / 434 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3972, allocations: 0.7169 MB / 434.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.3974, allocations: 7.938 kB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.3977, allocations: 15.8 kB / 434.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3979, allocations: 23.8 kB / 434.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.3985, allocations: 111.7 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.3987, allocations: 147.6 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3989, allocations: 41.7 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3991, allocations: 63.72 kB / 435.1 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3993, allocations: 55.64 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3993, allocations: 11.94 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.3994, allocations: 23.94 kB / 435.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.3995, allocations: 31.91 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.3995, allocations: 63.55 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.3999, allocations: 144.9 kB / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3999, allocations: 0 / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3999, allocations: 0 / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3999, allocations: 4 kB / 435.4 MB, free: 4.027 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.0008323/0.4007, allocations: 458.7 kB / 435.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4008, allocations: 16.02 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.401, allocations: 24.84 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.4016, allocations: 257.1 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.4016, allocations: 8.125 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.4016, allocations: 11.98 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.4023, allocations: 275.4 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4023, allocations: 0 / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.4024, allocations: 8 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4024, allocations: 0 / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.4026, allocations: 75.88 kB / 436.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.4033, allocations: 427.4 kB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.4038, allocations: 290.1 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.404, allocations: 100.3 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.4041, allocations: 8 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.4041, allocations: 38.5 kB / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.4041, allocations: 0 / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006616/0.4048, allocations: 229.2 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.4049, allocations: 187.9 kB / 437.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4051, allocations: 182.9 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4052, allocations: 30.08 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.4053, allocations: 112.1 kB / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.4053, allocations: 15.92 kB / 438.1 MB, free: 1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.4054, allocations: 37.67 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4055, allocations: 322.8 kB / 438.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.4056, allocations: 23.98 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4058, allocations: 130.4 kB / 438.6 MB, free: 440 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.406, allocations: 165.6 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.406, allocations: 0 / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002965/0.4063, allocations: 165.2 kB / 438.9 MB, free: 52 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.4064, allocations: 12.88 kB / 438.9 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4064, allocations: 7.984 kB / 438.9 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.4064, allocations: 4 kB / 438.9 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4066, allocations: 40.36 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4066, allocations: 8 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4067, allocations: 8 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.4067, allocations: 12 kB / 439 MB, free: 15.96 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.000163/0.4069, allocations: 137.7 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.4072, allocations: 141.4 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.4073, allocations: 29.39 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4073, allocations: 4.266 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4073, allocations: 4 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4073, allocations: 0 / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.4076, allocations: 221.5 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4076, allocations: 0 / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4077, allocations: 31.98 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.4078, allocations: 8.406 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4078, allocations: 4 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.4078, allocations: 7.984 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4078, allocations: 0 / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.4083, allocations: 368.1 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.4084, allocations: 112.9 kB / 440.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4084, allocations: 11.94 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.4086, allocations: 11.98 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.4086, allocations: 4 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4086, allocations: 4 kB / 440.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.4088, allocations: 136.4 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4088, allocations: 0 / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.4091, allocations: 20 kB / 440.2 MB, free: 14.62 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.0001535/0.4092, allocations: 107.2 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.4096, allocations: 115.7 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4096, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.4096, allocations: 12.98 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.4104, allocations: 100.1 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4115, allocations: 392.7 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.4119, allocations: 0.728 MB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.412, allocations: 15.44 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.412, allocations: 0 / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004699/0.4167, allocations: 1.798 MB / 443.5 MB, free: 11.3 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.4105324312113225]