Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 176.1 kB / 16.78 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205 MB / 222.6 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007098/0.00071, allocations: 84.62 kB / 270.5 MB, free: 8.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0652/0.0652, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003705, allocations: 15.98 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07252/0.07291, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked): time 0.001475/0.07443, allocations: 1.203 MB / 442.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.07477, allocations: 143.5 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.07486, allocations: 0 / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.07493, allocations: 0 / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.07503, allocations: 7.938 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.07524, allocations: 31.91 kB / 443.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.07531, allocations: 27.92 kB / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.07539, allocations: 12 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.07542, allocations: 11.92 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.07545, allocations: 11.92 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.07548, allocations: 3.938 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.07549, allocations: 4 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.07553, allocations: 4 kB / 443.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.07557, allocations: 23.8 kB / 443.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.187e-05/0.07563, allocations: 27.89 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07565, allocations: 4 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.07565, allocations: 4 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.07566, allocations: 0 / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003079/0.07597, allocations: 351.5 kB / 443.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.07602, allocations: 8.031 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.07606, allocations: 8.844 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.07619, allocations: 184.1 kB / 443.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.07621, allocations: 4.375 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.07623, allocations: 4.375 kB / 443.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.0764, allocations: 89.61 kB / 443.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.07642, allocations: 192 / 443.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.07644, allocations: 7.922 kB / 443.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.07645, allocations: 0 / 443.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.0765, allocations: 19.92 kB / 443.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.07673, allocations: 261.8 kB / 444.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.0768, allocations: 53.02 kB / 444.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.07684, allocations: 13.78 kB / 444.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.07686, allocations: 8 kB / 444.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.07689, allocations: 34.56 kB / 444.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.07689, allocations: 0 / 444.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.07707, allocations: 57.62 kB / 444.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.07709, allocations: 77.11 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.07718, allocations: 145.9 kB / 444.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.0772, allocations: 25.7 kB / 444.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.07723, allocations: 84.14 kB / 444.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-06/0.07724, allocations: 0 / 444.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.07727, allocations: 13.72 kB / 444.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.07731, allocations: 310.8 kB / 444.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.07734, allocations: 7.984 kB / 444.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.07738, allocations: 29.66 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.07742, allocations: 17.72 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.07743, allocations: 3.938 kB / 445 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.637e-05/0.07751, allocations: 57.56 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.07753, allocations: 4.938 kB / 445 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.07754, allocations: 4.125 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.07756, allocations: 0 / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.4e-05/0.07758, allocations: 7.984 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.07759, allocations: 0 / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.07762, allocations: 0 / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.07763, allocations: 3.984 kB / 445.1 MB, free: 12.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.y,sample.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.858e-05/0.07768, allocations: 121.8 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.07771, allocations: 7.844 kB / 445.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.07774, allocations: 19.47 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.07775, allocations: 4 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.07775, allocations: 0 / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.07779, allocations: 89 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.07781, allocations: 4 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.07786, allocations: 0 / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.0779, allocations: 0 / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.715e-05/0.078, allocations: 212.1 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001339/0.07814, allocations: 298 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.704e-05/0.07819, allocations: 11.98 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.07824, allocations: 99.36 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Backend: time 2.91e-07/0.07824, allocations: 4 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003378/0.07859, allocations: 86.39 kB / 446 MB, free: 11.76 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003507/0.07895, allocations: 0.6019 MB / 446.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Templates: time 0.001936/0.08089, allocations: 426.2 kB / 447 MB, free: 10.69 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1)