Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.001309, allocations: 114.3 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 50.55 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003725/0.3497, allocations: 1.891 MB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3519, allocations: 1.212 MB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3521, allocations: 7.938 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.3528, allocations: 155.5 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.3533, allocations: 155.4 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.3539, allocations: 171.1 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.3542, allocations: 195.5 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3543, allocations: 29.55 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3545, allocations: 79.62 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3546, allocations: 75.62 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.3546, allocations: 8 kB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3548, allocations: 55.98 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.3549, allocations: 47.81 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.355, allocations: 67.5 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.3553, allocations: 215 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3553, allocations: 0 / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3554, allocations: 4 kB / 414.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3554, allocations: 0 / 414.3 MB, free: 13.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008473/0.3562, allocations: 0.5131 MB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3563, allocations: 8.031 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.3563, allocations: 20.73 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3567, allocations: 270.7 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3567, allocations: 16.36 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3568, allocations: 8.125 kB / 415.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3571, allocations: 138.7 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3571, allocations: 0 / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3571, allocations: 7.984 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3571, allocations: 4 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3573, allocations: 35.92 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.3578, allocations: 358.5 kB / 415.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.358, allocations: 115.8 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.3581, allocations: 46.56 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3581, allocations: 0 / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3583, allocations: 79.33 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3583, allocations: 4 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003842/0.3587, allocations: 145.2 kB / 416 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3588, allocations: 128.5 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.359, allocations: 277 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3591, allocations: 25.95 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.3592, allocations: 124 kB / 416.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3592, allocations: 11.91 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.3593, allocations: 37.55 kB / 416.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3594, allocations: 330.8 kB / 416.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.3594, allocations: 23.98 kB / 417 MB, free: 10.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.3595, allocations: 66 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3597, allocations: 76.22 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3597, allocations: 0 / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002016/0.3599, allocations: 121.4 kB / 417.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3599, allocations: 6.656 kB / 417.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3599, allocations: 4 kB / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3599, allocations: 0 / 417.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.36, allocations: 19.92 kB / 417.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3601, allocations: 3.984 kB / 417.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.3601, allocations: 7.938 kB / 417.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3602, allocations: 11.94 kB / 417.3 MB, free: 9.938 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: 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.0001363/0.3603, allocations: 149.9 kB / 417.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.3603, allocations: 24.03 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.456e-05/0.3604, allocations: 21.7 kB / 417.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3604, allocations: 0 / 417.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3604, allocations: 4 kB / 417.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.3605, allocations: 108.9 kB / 417.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.3606, allocations: 7.938 kB / 417.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.3606, allocations: 4 kB / 417.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3607, allocations: 7.984 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003591/0.3611, allocations: 351.4 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004078/0.3615, allocations: 445 kB / 418.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.686e-05/0.3616, allocations: 36.05 kB / 418.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.3618, allocations: 200.5 kB / 418.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of Backend: time 1.122e-06/0.3618, allocations: 0 / 418.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.3637, allocations: 444.4 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008766/0.3646, allocations: 0.7737 MB / 419.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006423/0.371, allocations: 2.523 MB / 422.3 MB, free: 4.93 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1)