Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.001331, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00373/0.3175, allocations: 1.687 MB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.3181, allocations: 159.5 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3183, allocations: 8 kB / 411.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.3184, allocations: 11.81 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3186, allocations: 11.88 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3189, allocations: 39.89 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3191, allocations: 51.91 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3192, allocations: 35.97 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.3193, allocations: 23.86 kB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.3194, allocations: 27.84 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.3194, allocations: 4 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.3194, allocations: 4 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.3195, allocations: 19.92 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.3196, allocations: 31.75 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.3198, allocations: 71.45 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3198, allocations: 0 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3198, allocations: 0 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3198, allocations: 4 kB / 412.1 MB, free: 15.37 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006302/0.3204, allocations: 395 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3205, allocations: 8.031 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.3205, allocations: 12.89 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3208, allocations: 200.1 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3209, allocations: 4.375 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.3209, allocations: 8.312 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.3213, allocations: 166.4 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3213, allocations: 192 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3213, allocations: 3.938 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3213, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3214, allocations: 47.89 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.322, allocations: 365.9 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.3222, allocations: 123.8 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3223, allocations: 54.69 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3224, allocations: 7.984 kB / 413.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3224, allocations: 42.5 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3224, allocations: 4 kB / 413.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003407/0.3228, allocations: 117.7 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3228, allocations: 110.8 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.323, allocations: 133.8 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3231, allocations: 25.7 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.3231, allocations: 84.14 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3231, allocations: 20.12 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.3232, allocations: 29.67 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3233, allocations: 318.8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.3234, allocations: 15.98 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.3235, allocations: 71.66 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3236, allocations: 95.59 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3236, allocations: 3.938 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.3238, allocations: 101.5 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3238, allocations: 4.281 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3239, allocations: 11.94 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3239, allocations: 4 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.324, allocations: 19.98 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.324, allocations: 3.938 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.324, allocations: 16.12 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.324, allocations: 8 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.035e-05/0.3242, allocations: 121.7 kB / 414.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.3242, allocations: 7.953 kB / 414.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.3243, allocations: 24.7 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3243, allocations: 4 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3243, allocations: 0 / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.3244, allocations: 96.98 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3244, allocations: 4 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3245, allocations: 0 / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3245, allocations: 11.92 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002938/0.3248, allocations: 335.4 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004383/0.3253, allocations: 462 kB / 415.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.918e-05/0.3254, allocations: 35.98 kB / 415.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.267e-05/0.3255, allocations: 110.2 kB / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.3255, allocations: 0 / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.326, allocations: 116.5 kB / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006747/0.3267, allocations: 0.6238 MB / 416.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003544/0.3303, allocations: 0.7191 MB / 417.4 MB, free: 9.691 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1)