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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001229, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4033, allocations: 50.54 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003558/0.4069, allocations: 1.865 MB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4081, allocations: 0.7013 MB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4082, allocations: 7.938 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.4084, allocations: 19.73 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.4085, allocations: 19.81 kB / 411.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.4089, allocations: 111.3 kB / 412 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.4091, allocations: 151.5 kB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.4093, allocations: 61.64 kB / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4094, allocations: 63.7 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.4096, allocations: 55.64 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.4096, allocations: 12 kB / 412.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.4096, allocations: 16 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.4097, allocations: 27.92 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.4098, allocations: 71.53 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.41, allocations: 139.4 kB / 412.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.41, allocations: 4 kB / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.41, allocations: 0 / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.4101, allocations: 0 / 412.6 MB, free: 14.3 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.0006683/0.4107, allocations: 460 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4108, allocations: 8.031 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.411, allocations: 36.64 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.4113, allocations: 240 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4113, allocations: 12.12 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.4114, allocations: 12 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.4119, allocations: 285.5 kB / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4119, allocations: 0 / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.412, allocations: 8 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.412, allocations: 4 kB / 413.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.4122, allocations: 71.89 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.4127, allocations: 431.4 kB / 414.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.4131, allocations: 298 kB / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4133, allocations: 108.3 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4133, allocations: 8 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4134, allocations: 38.5 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.4134, allocations: 4 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005352/0.4139, allocations: 213.3 kB / 414.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4141, allocations: 196.4 kB / 414.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4142, allocations: 186.2 kB / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4143, allocations: 33.64 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.4143, allocations: 100.5 kB / 415.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.4144, allocations: 19.8 kB / 415.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.4144, allocations: 37.7 kB / 415.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4146, allocations: 326.8 kB / 415.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.4146, allocations: 31.98 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4148, allocations: 143.3 kB / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.415, allocations: 166.4 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.415, allocations: 4 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002811/0.4153, allocations: 181.2 kB / 416.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4153, allocations: 8 kB / 416.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4153, allocations: 4 kB / 416.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4154, allocations: 7.984 kB / 416.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4155, allocations: 39.91 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4155, allocations: 4 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-05/0.4156, allocations: 20.16 kB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4157, allocations: 16 kB / 416.2 MB, free: 10.16 MB / 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.0001268/0.4158, allocations: 141.7 kB / 416.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.4161, allocations: 137.4 kB / 416.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4162, allocations: 21.39 kB / 416.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4162, allocations: 4 kB / 416.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4162, allocations: 4 kB / 416.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4162, allocations: 3.938 kB / 416.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.4165, allocations: 225.5 kB / 416.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4165, allocations: 4 kB / 416.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4167, allocations: 35.92 kB / 416.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4167, allocations: 4 kB / 416.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4167, allocations: 7.984 kB / 416.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.4167, allocations: 4 kB / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4167, allocations: 0 / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.4171, allocations: 364.9 kB / 417.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.4172, allocations: 108.8 kB / 417.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4173, allocations: 4 kB / 417.3 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4174, allocations: 15.98 kB / 417.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.4175, allocations: 11.94 kB / 417.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.4175, allocations: 4 kB / 417.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4176, allocations: 136.3 kB / 417.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4176, allocations: 4 kB / 417.5 MB, free: 8.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.418, allocations: 23.91 kB / 417.5 MB, free: 8.809 MB / 334.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.0001423/0.4181, allocations: 107.2 kB / 417.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.4184, allocations: 115.8 kB / 417.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4184, allocations: 4 kB / 417.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.4185, allocations: 11.92 kB / 417.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.4191, allocations: 114.3 kB / 417.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.4198, allocations: 319.5 kB / 418.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4201, allocations: 0.728 MB / 418.9 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.504e-05/0.4202, allocations: 21.72 kB / 418.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.4202, allocations: 15.44 kB / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4202, allocations: 0 / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of Templates: time 0.005224/0.4255, allocations: 1.765 MB / 420.7 MB, free: 5.574 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches