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.001163/0.001162, allocations: 117.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 204.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.694/1.694, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.417, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003552/0.4206, allocations: 1.862 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4222, allocations: 0.6935 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.4224, allocations: 11.88 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.4226, allocations: 23.78 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.4227, allocations: 15.81 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.4232, allocations: 115.7 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.4235, allocations: 147.5 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.4237, allocations: 61.33 kB / 412.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.4239, allocations: 67.7 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.424, allocations: 51.7 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.424, allocations: 15.88 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.4241, allocations: 16 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.4242, allocations: 27.92 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.4243, allocations: 63.55 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.4245, allocations: 143.5 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.4246, allocations: 3.984 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4246, allocations: 0 / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4246, allocations: 4 kB / 413.2 MB, free: 14.26 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.000752/0.4253, allocations: 463.9 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4254, allocations: 8.031 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.4256, allocations: 28.66 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.426, allocations: 245 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.426, allocations: 12.12 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.426, allocations: 8 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.4266, allocations: 286.5 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4266, allocations: 0 / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4267, allocations: 0 / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4267, allocations: 4 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.4269, allocations: 71.89 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.4274, allocations: 435.3 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.4279, allocations: 298.1 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.4282, allocations: 112.3 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.4282, allocations: 7.984 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4283, allocations: 42.44 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.4283, allocations: 0 / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000579/0.4289, allocations: 225.2 kB / 415.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002671/0.4291, allocations: 188.4 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4293, allocations: 186.2 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.4294, allocations: 30.08 kB / 415.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.4294, allocations: 104.5 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.4295, allocations: 23.73 kB / 416 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.4296, allocations: 33.72 kB / 416 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4297, allocations: 330.8 kB / 416.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.4298, allocations: 23.98 kB / 416.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4299, allocations: 143.4 kB / 416.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.4302, allocations: 166.4 kB / 416.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4302, allocations: 0 / 416.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002939/0.4305, allocations: 185.1 kB / 416.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4305, allocations: 4.531 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4306, allocations: 4 kB / 416.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4306, allocations: 12 kB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4307, allocations: 35.92 kB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4307, allocations: 11.92 kB / 416.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4309, allocations: 23.78 kB / 416.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4309, allocations: 8 kB / 416.9 MB, free: 10.12 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.000129/0.431, allocations: 141.7 kB / 417.1 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.4313, allocations: 145.3 kB / 417.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.4314, allocations: 21.39 kB / 417.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4314, allocations: 4 kB / 417.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4314, allocations: 0 / 417.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.4314, allocations: 7.938 kB / 417.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.4317, allocations: 221.5 kB / 417.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4317, allocations: 0 / 417.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4319, allocations: 35.92 kB / 417.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4319, allocations: 4 kB / 417.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4319, allocations: 4 kB / 417.5 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4319, allocations: 12.02 kB / 417.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4319, allocations: 0 / 417.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.4324, allocations: 364.9 kB / 417.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.4325, allocations: 108.8 kB / 418 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4325, allocations: 8 kB / 418 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4327, allocations: 15.98 kB / 418 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.4327, allocations: 3.938 kB / 418 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4327, allocations: 8 kB / 418 MB, free: 8.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.433, allocations: 136.3 kB / 418.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.433, allocations: 3.938 kB / 418.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.4333, allocations: 27.91 kB / 418.2 MB, free: 8.758 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.0001376/0.4335, allocations: 107.2 kB / 418.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.4338, allocations: 112.8 kB / 418.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4338, allocations: 0 / 418.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.298e-05/0.4339, allocations: 23.98 kB / 418.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.4345, allocations: 108.3 kB / 418.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.4353, allocations: 345.2 kB / 418.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4357, allocations: 0.7282 MB / 419.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.4357, allocations: 27.42 kB / 419.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4357, allocations: 0 / 419.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Templates: time 0.004577/0.4403, allocations: 1.867 MB / 421.5 MB, free: 5.387 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/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