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/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.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/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 111.1 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3324, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003186/0.3357, allocations: 1.613 MB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3368, allocations: 0.5609 MB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.3369, allocations: 3.938 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.337, allocations: 15.88 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3371, allocations: 11.86 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.3375, allocations: 59.81 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3376, allocations: 55.84 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3378, allocations: 19.98 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.3379, allocations: 39.78 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.338, allocations: 27.86 kB / 412.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.338, allocations: 0 / 412.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.3381, allocations: 8 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.3381, allocations: 15.92 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.3382, allocations: 35.73 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3384, allocations: 63.73 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3384, allocations: 0 / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3384, allocations: 7.984 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.3384, allocations: 0 / 412.5 MB, free: 15.06 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006428/0.3391, allocations: 388.2 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3391, allocations: 8.031 kB / 412.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3393, allocations: 20.83 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3396, allocations: 201.8 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3396, allocations: 4.375 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3397, allocations: 8.125 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.34, allocations: 138.6 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.34, allocations: 3.938 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.34, allocations: 0 / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.34, allocations: 0 / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.3401, allocations: 31.91 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3405, allocations: 287.4 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3406, allocations: 94.36 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.3407, allocations: 47.55 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.3408, allocations: 7.922 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3408, allocations: 42.55 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3408, allocations: 0 / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003153/0.3411, allocations: 101.4 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3412, allocations: 128.5 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3414, allocations: 150.3 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3414, allocations: 29.7 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3414, allocations: 96.12 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.3415, allocations: 3.906 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3415, allocations: 21.72 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3416, allocations: 322.8 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.3417, allocations: 12 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.3418, allocations: 48.28 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3419, allocations: 60.22 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3419, allocations: 3.938 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001604/0.3421, allocations: 85.52 kB / 414.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3421, allocations: 4 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3421, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.3421, allocations: 7.984 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.3422, allocations: 11.94 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.3422, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3423, allocations: 7.922 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3423, allocations: 4.156 kB / 414.8 MB, free: 12.39 MB / 334.1 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 9.721e-05/0.3424, allocations: 125.8 kB / 414.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.3425, allocations: 11.91 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.3425, allocations: 19.81 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3425, allocations: 0 / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3426, allocations: 3.938 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.3426, allocations: 100.9 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3427, allocations: 7.984 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.3427, allocations: 7.938 kB / 415.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3428, allocations: 7.984 kB / 415.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003115/0.3431, allocations: 386.7 kB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003379/0.3435, allocations: 496.6 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.361e-05/0.3435, allocations: 19.98 kB / 416 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.3436, allocations: 107.2 kB / 416.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.3436, allocations: 4 kB / 416.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006797/0.3443, allocations: 110.3 kB / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006993/0.345, allocations: 0.6248 MB / 416.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Templates: time 0.00381/0.3488, allocations: 0.8232 MB / 417.6 MB, free: 9.453 MB / 334.1 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)