Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 210.7 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.498/1.498, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003144/0.329, allocations: 1.914 MB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3309, allocations: 1.231 MB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3311, allocations: 7.938 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.3317, allocations: 155 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.332, allocations: 159.4 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.3325, allocations: 175.4 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.3327, allocations: 207.4 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3329, allocations: 33.66 kB / 413.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.333, allocations: 75.7 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3331, allocations: 79.62 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3331, allocations: 12 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3333, allocations: 63.89 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.3334, allocations: 39.84 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3335, allocations: 75.48 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.3338, allocations: 222.9 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3338, allocations: 7.922 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3338, allocations: 0 / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3338, allocations: 0 / 414.4 MB, free: 13.11 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007133/0.3346, allocations: 0.5249 MB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3346, allocations: 8.031 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.3347, allocations: 20.66 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.335, allocations: 286.7 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3351, allocations: 12.31 kB / 415.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3351, allocations: 8.125 kB / 415.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.3354, allocations: 167.6 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3355, allocations: 0 / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3355, allocations: 0 / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3355, allocations: 7.984 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3356, allocations: 39.92 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.3361, allocations: 387.1 kB / 415.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3363, allocations: 134.5 kB / 415.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.3364, allocations: 55.42 kB / 416 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3365, allocations: 7.938 kB / 416 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3366, allocations: 75.39 kB / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3366, allocations: 0 / 416.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003713/0.337, allocations: 153.3 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.3371, allocations: 158.2 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.3374, allocations: 286.9 kB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3374, allocations: 33.7 kB / 416.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.3375, allocations: 120.5 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.3376, allocations: 15.81 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3376, allocations: 33.7 kB / 416.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3378, allocations: 334.8 kB / 417.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.3378, allocations: 20 kB / 417.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3379, allocations: 91.64 kB / 417.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3381, allocations: 93.97 kB / 417.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3381, allocations: 0 / 417.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002269/0.3383, allocations: 129.2 kB / 417.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3384, allocations: 8 kB / 417.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3384, allocations: 0 / 417.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3384, allocations: 4.188 kB / 417.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.3385, allocations: 19.98 kB / 417.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3385, allocations: 0 / 417.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.3386, allocations: 11.94 kB / 417.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3386, allocations: 11.94 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001272/0.3387, allocations: 146 kB / 417.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3388, allocations: 27.66 kB / 417.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.3388, allocations: 29.64 kB / 417.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3388, allocations: 4 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3388, allocations: 4 kB / 417.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.3389, allocations: 112.9 kB / 417.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.339, allocations: 3.938 kB / 417.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.3391, allocations: 8 kB / 417.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3391, allocations: 7.984 kB / 417.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003446/0.3395, allocations: 430.7 kB / 418.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003613/0.3398, allocations: 0.5237 MB / 418.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.547e-05/0.3399, allocations: 40.08 kB / 418.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3401, allocations: 206 kB / 419.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of Backend: time 7.21e-07/0.3401, allocations: 0 / 419.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.3416, allocations: 457.1 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008557/0.3425, allocations: 0.7905 MB / 420.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of Templates: time 0.006088/0.3486, allocations: 2.804 MB / 423.1 MB, free: 4.035 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1)