Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001324, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 51.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3126, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004529/0.3172, allocations: 1.871 MB / 403.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.3195, allocations: 1.157 MB / 404.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.3197, allocations: 3.938 kB / 404.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.3202, allocations: 59.73 kB / 404.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.3206, allocations: 95.59 kB / 404.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000966/0.3215, allocations: 262.1 kB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.3218, allocations: 171.5 kB / 405 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.322, allocations: 41.52 kB / 405.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3222, allocations: 67.7 kB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3223, allocations: 75.69 kB / 405.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3224, allocations: 8 kB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3226, allocations: 71.89 kB / 405.3 MB, free: 5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.3227, allocations: 47.83 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.3228, allocations: 83.47 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.3232, allocations: 244.3 kB / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3232, allocations: 0 / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3232, allocations: 0 / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3232, allocations: 0 / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008109/0.324, allocations: 0.5272 MB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3241, allocations: 11.89 kB / 406.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3242, allocations: 24.66 kB / 406.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.3246, allocations: 283.6 kB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3247, allocations: 8.312 kB / 406.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3247, allocations: 12.12 kB / 406.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3251, allocations: 159.6 kB / 406.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3251, allocations: 0 / 406.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3251, allocations: 0 / 406.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3251, allocations: 3.938 kB / 406.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3253, allocations: 43.91 kB / 406.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3259, allocations: 374.5 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3261, allocations: 115.9 kB / 407.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.3263, allocations: 46.56 kB / 407.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3263, allocations: 11.92 kB / 407.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3265, allocations: 71.39 kB / 407.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.3265, allocations: 0 / 407.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004021/0.3269, allocations: 157.3 kB / 407.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.327, allocations: 158.2 kB / 407.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.3273, allocations: 326.7 kB / 407.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3274, allocations: 25.7 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.3275, allocations: 136.2 kB / 408.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3275, allocations: 23.75 kB / 408.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3276, allocations: 29.7 kB / 408.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3277, allocations: 334.8 kB / 408.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3278, allocations: 23.98 kB / 408.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3279, allocations: 90.84 kB / 408.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3281, allocations: 92.47 kB / 408.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3281, allocations: 0 / 408.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.3283, allocations: 125.5 kB / 408.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3284, allocations: 11.98 kB / 408.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3284, allocations: 0 / 408.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3284, allocations: 0 / 408.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3285, allocations: 16 kB / 408.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.3285, allocations: 7.938 kB / 408.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.3286, allocations: 15.89 kB / 408.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3286, allocations: 7.938 kB / 408.9 MB, free: 1.07 MB / 318.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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001406/0.3288, allocations: 145.8 kB / 409 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.3288, allocations: 35.78 kB / 409 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.3289, allocations: 25.7 kB / 409.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3289, allocations: 0 / 409.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3289, allocations: 3.984 kB / 409.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.329, allocations: 112.8 kB / 409.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3291, allocations: 7.938 kB / 409.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.3292, allocations: 3.984 kB / 409.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3292, allocations: 8 kB / 409.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003496/0.3296, allocations: 355.4 kB / 409.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003896/0.33, allocations: 453 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001059/0.3301, allocations: 55.97 kB / 410 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.3304, allocations: 237.9 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Backend: time 8.72e-07/0.3304, allocations: 3.938 kB / 410.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.332, allocations: 449.5 kB / 410.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009476/0.333, allocations: 0.8073 MB / 411.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.007383/0.3404, allocations: 2.95 MB / 414.5 MB, free: 11.54 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1)