Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 207.4 kB / 17.99 MB, free: 3.801 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 104.6 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 47.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3024, allocations: 50.45 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003131/0.3056, allocations: 1.669 MB / 408.7 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3067, allocations: 0.5415 MB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3069, allocations: 7.188 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.03e-05/0.307, allocations: 3.938 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3072, allocations: 11.92 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3076, allocations: 43.91 kB / 409.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3078, allocations: 51.83 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3079, allocations: 23.36 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3081, allocations: 31.86 kB / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.3082, allocations: 27.84 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3082, allocations: 4 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.3083, allocations: 8 kB / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.3084, allocations: 15.92 kB / 409.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.3084, allocations: 23.81 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.3086, allocations: 67.72 kB / 409.6 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3086, allocations: 4 kB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3087, allocations: 0 / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3087, allocations: 0 / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006185/0.3093, allocations: 384.6 kB / 410 MB, free: 24.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3093, allocations: 12.59 kB / 410 MB, free: 24.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.3095, allocations: 16.83 kB / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.3097, allocations: 208.2 kB / 410.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3097, allocations: 4.375 kB / 410.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3097, allocations: 8.125 kB / 410.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.3101, allocations: 126.7 kB / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3101, allocations: 0 / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3102, allocations: 8 kB / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3102, allocations: 0 / 410.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.3103, allocations: 31.92 kB / 410.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3106, allocations: 291.4 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3107, allocations: 98.42 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.3108, allocations: 39.48 kB / 410.8 MB, free: 23.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3108, allocations: 4 kB / 410.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3109, allocations: 46.44 kB / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3109, allocations: 0 / 410.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003118/0.3112, allocations: 97.5 kB / 410.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3112, allocations: 141 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3114, allocations: 145.8 kB / 411.2 MB, free: 23.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.3114, allocations: 25.7 kB / 411.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.3114, allocations: 95.98 kB / 411.3 MB, free: 23.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3114, allocations: 4 kB / 411.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.3115, allocations: 25.61 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.3115, allocations: 318.8 kB / 411.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.3116, allocations: 11.92 kB / 411.7 MB, free: 22.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-05/0.3116, allocations: 48.28 kB / 411.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.3117, allocations: 60.22 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3117, allocations: 0 / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001309/0.3119, allocations: 89.45 kB / 411.9 MB, free: 22.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3119, allocations: 6.5 kB / 411.9 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.3119, allocations: 4 kB / 411.9 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3119, allocations: 0 / 411.9 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.312, allocations: 20.12 kB / 411.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.312, allocations: 7.938 kB / 411.9 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.3121, allocations: 7.938 kB / 411.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3121, allocations: 4 kB / 411.9 MB, free: 22.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.993e-05/0.3122, allocations: 119.3 kB / 412 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.3123, allocations: 61.66 kB / 412.1 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.3123, allocations: 15.86 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3123, allocations: 8 kB / 412.1 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3123, allocations: 64 / 412.1 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3123, allocations: 7.938 kB / 412.1 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3125, allocations: 177.6 kB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3125, allocations: 4 kB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.3126, allocations: 8 kB / 412.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3126, allocations: 4 kB / 412.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3126, allocations: 0 / 412.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3126, allocations: 3.984 kB / 412.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3126, allocations: 4 kB / 412.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.313, allocations: 0.7615 MB / 413.1 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.3131, allocations: 100.9 kB / 413.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3131, allocations: 3.984 kB / 413.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.3132, allocations: 11.94 kB / 413.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.3132, allocations: 0 / 413.2 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3132, allocations: 4 kB / 413.2 MB, free: 21.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.183e-05/0.3133, allocations: 109.9 kB / 413.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3133, allocations: 3.938 kB / 413.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.3137, allocations: 12 kB / 413.3 MB, free: 21.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.000106/0.3138, allocations: 95.25 kB / 413.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.314, allocations: 47.91 kB / 413.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.314, allocations: 3.938 kB / 413.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.314, allocations: 11.94 kB / 413.5 MB, free: 20.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3145, allocations: 35.95 kB / 413.5 MB, free: 20.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.315, allocations: 339.1 kB / 413.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3152, allocations: 0.6926 MB / 414.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.3153, allocations: 11.98 kB / 414.6 MB, free: 19.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3153, allocations: 15.44 kB / 414.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3153, allocations: 0 / 414.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003126/0.3185, allocations: 0.6791 MB / 415.2 MB, free: 19.03 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches