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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.38/1.38, allocations: 227.6 MB / 247.9 MB, free: 10.2 MB / 206.1 MB 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.001835/0.001835, allocations: 67.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2232, allocations: 50.53 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00293/0.2262, allocations: 1.877 MB / 412.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2273, allocations: 0.7012 MB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.2274, allocations: 7.938 kB / 412.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.2275, allocations: 15.8 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.99e-05/0.2276, allocations: 23.8 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.228, allocations: 119.3 kB / 413 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2282, allocations: 143.6 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2283, allocations: 49.7 kB / 413.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.2284, allocations: 59.72 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.2285, allocations: 55.64 kB / 413.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2285, allocations: 8 kB / 413.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.2286, allocations: 16 kB / 413.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.2286, allocations: 31.86 kB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2287, allocations: 63.55 kB / 413.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2289, allocations: 147.2 kB / 413.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2289, allocations: 4 kB / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2289, allocations: 0 / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2289, allocations: 0 / 413.5 MB, free: 14.11 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.0005959/0.2295, allocations: 462.7 kB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2295, allocations: 8.031 kB / 414 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.2297, allocations: 28.83 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.23, allocations: 257 kB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.23, allocations: 16.06 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.23, allocations: 4 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.2306, allocations: 281.9 kB / 414.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2306, allocations: 0 / 414.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2306, allocations: 0 / 414.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2306, allocations: 4 kB / 414.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.2309, allocations: 79.88 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.2313, allocations: 423.4 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.2318, allocations: 290.1 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.232, allocations: 108.4 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.232, allocations: 0 / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2321, allocations: 42.5 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.81e-07/0.2321, allocations: 4 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005546/0.2326, allocations: 221.2 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.2327, allocations: 187.9 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.2329, allocations: 190.7 kB / 416.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2329, allocations: 25.7 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.233, allocations: 104.1 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.233, allocations: 20.25 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.2331, allocations: 33.7 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2332, allocations: 326.8 kB / 416.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.2333, allocations: 19.98 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.2335, allocations: 142.4 kB / 416.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.2337, allocations: 149.6 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2337, allocations: 4 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000283/0.234, allocations: 169.2 kB / 417 MB, free: 10.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.234, allocations: 11.94 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.234, allocations: 4.5 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.234, allocations: 8 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.2341, allocations: 35.92 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2341, allocations: 7.938 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.2342, allocations: 15.94 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.2343, allocations: 8 kB / 417.1 MB, free: 10.04 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.0001131/0.2344, allocations: 137.7 kB / 417.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.2347, allocations: 145.4 kB / 417.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.2347, allocations: 21.44 kB / 417.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2347, allocations: 4 kB / 417.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2347, allocations: 0 / 417.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2347, allocations: 7.984 kB / 417.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.235, allocations: 217.5 kB / 417.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.235, allocations: 4 kB / 417.7 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.2352, allocations: 39.91 kB / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2352, allocations: 3.938 kB / 417.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2352, allocations: 4 kB / 417.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2352, allocations: 0 / 417.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2352, allocations: 4 kB / 417.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.2356, allocations: 360.3 kB / 418.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.2357, allocations: 108.9 kB / 418.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2357, allocations: 15.92 kB / 418.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2359, allocations: 8 kB / 418.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.2359, allocations: 3.984 kB / 418.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2359, allocations: 8 kB / 418.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.236, allocations: 132.3 kB / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.236, allocations: 0 / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.2363, allocations: 27.98 kB / 418.4 MB, free: 8.699 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.0001057/0.2365, allocations: 107.4 kB / 418.5 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.2367, allocations: 111.7 kB / 418.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2367, allocations: 1 kB / 418.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.2368, allocations: 20.05 kB / 418.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.2374, allocations: 96.05 kB / 418.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.2382, allocations: 367.2 kB / 419 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.2386, allocations: 0.7202 MB / 419.8 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.566e-05/0.2386, allocations: 17.55 kB / 419.8 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.2387, allocations: 15.44 kB / 419.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2387, allocations: 0 / 419.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of Templates: time 0.004657/0.2433, allocations: 1.716 MB / 421.5 MB, free: 5.504 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches