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) 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 60.05 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3516, allocations: 50.55 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003308/0.355, allocations: 1.852 MB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3564, allocations: 0.7013 MB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.3566, allocations: 7.938 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3568, allocations: 19.73 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.3569, allocations: 23.8 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3573, allocations: 103.4 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.3576, allocations: 147.5 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3578, allocations: 69.67 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.3581, allocations: 59.72 kB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.3582, allocations: 55.64 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.3582, allocations: 12 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.3583, allocations: 20 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.3584, allocations: 23.92 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.3584, allocations: 63.55 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.3586, allocations: 147.4 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3587, allocations: 0 / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3587, allocations: 0 / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3587, allocations: 0 / 412.5 MB, free: 14.27 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.0006562/0.3594, allocations: 460 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3594, allocations: 12.03 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3596, allocations: 32.64 kB / 413 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.36, allocations: 248.9 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.36, allocations: 12.12 kB / 413.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.36, allocations: 12 kB / 413.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.3606, allocations: 278.3 kB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3606, allocations: 0 / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3607, allocations: 0 / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3607, allocations: 4 kB / 413.6 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3609, allocations: 75.83 kB / 413.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.3614, allocations: 427.4 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.362, allocations: 298.1 kB / 414.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3622, allocations: 112.2 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3622, allocations: 7.984 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3622, allocations: 46.55 kB / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.3622, allocations: 0 / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005666/0.3628, allocations: 213.5 kB / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.363, allocations: 200.2 kB / 414.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.3631, allocations: 182.3 kB / 415.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.3632, allocations: 29.7 kB / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.3633, allocations: 100.1 kB / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.3633, allocations: 15.83 kB / 415.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.3634, allocations: 41.61 kB / 415.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3635, allocations: 322.8 kB / 415.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.3636, allocations: 27.98 kB / 415.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3637, allocations: 130.6 kB / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.364, allocations: 157.5 kB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.364, allocations: 0 / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002734/0.3643, allocations: 169.4 kB / 416.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3643, allocations: 11.94 kB / 416.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3643, allocations: 4 kB / 416.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3643, allocations: 4 kB / 416.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3645, allocations: 31.92 kB / 416.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3645, allocations: 7.984 kB / 416.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-05/0.3646, allocations: 23.78 kB / 416.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3646, allocations: 8 kB / 416.2 MB, free: 10.2 MB / 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.000151/0.3648, allocations: 142 kB / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.3651, allocations: 145.3 kB / 416.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.3651, allocations: 21.41 kB / 416.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3651, allocations: 0 / 416.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3652, allocations: 4 kB / 416.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3652, allocations: 3.984 kB / 416.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3655, allocations: 217.5 kB / 416.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3655, allocations: 32 / 416.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3656, allocations: 39.97 kB / 416.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3657, allocations: 7.938 kB / 416.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3657, allocations: 0 / 416.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3657, allocations: 7.938 kB / 416.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3657, allocations: 0 / 416.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.3661, allocations: 360.2 kB / 417.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.3663, allocations: 112.8 kB / 417.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3663, allocations: 7.938 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3664, allocations: 11.94 kB / 417.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3665, allocations: 7.984 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3665, allocations: 8 kB / 417.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3666, allocations: 140.4 kB / 417.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3666, allocations: 3.938 kB / 417.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3669, allocations: 20 kB / 417.4 MB, free: 8.848 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: 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.0001528/0.3671, allocations: 99.25 kB / 417.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3674, allocations: 116.2 kB / 417.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3674, allocations: 0 / 417.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.3675, allocations: 15.94 kB / 417.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.3681, allocations: 108.3 kB / 417.7 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/0.369, allocations: 360.1 kB / 418.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3694, allocations: 0.7241 MB / 418.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.3694, allocations: 17.53 kB / 418.8 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.3695, allocations: 15.44 kB / 418.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3695, allocations: 4 kB / 418.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of Templates: time 0.004983/0.3745, allocations: 1.706 MB / 420.6 MB, free: 5.648 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches