Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 174.3 kB / 16.76 MB, free: 5.051 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.411/1.411, allocations: 205 MB / 222.5 MB, free: 9.07 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.0007128/0.0007132, allocations: 81.12 kB / 270.5 MB, free: 8.676 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.06435/0.06435, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005465/0.0005465, allocations: 8 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0673/0.06786, allocations: 49.97 MB / 441.7 MB, free: 16.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001241/0.06914, allocations: 1.227 MB / 442.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005889/0.06974, allocations: 499.7 kB / 443.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.06982, allocations: 0 / 443.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.06988, allocations: 7.922 kB / 443.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.07, allocations: 11.94 kB / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.07027, allocations: 55.88 kB / 443.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.07036, allocations: 55.78 kB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.07045, allocations: 15.98 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.07049, allocations: 23.86 kB / 443.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.07054, allocations: 23.81 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.07056, allocations: 0 / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.07057, allocations: 4 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.07062, allocations: 11.92 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.07066, allocations: 23.81 kB / 443.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.524e-05/0.07073, allocations: 40.2 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07074, allocations: 0 / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07075, allocations: 4 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.07076, allocations: 0 / 443.7 MB, free: 14.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003881/0.07115, allocations: 379.2 kB / 444 MB, free: 13.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.07119, allocations: 12.03 kB / 444 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.07123, allocations: 20.67 kB / 444.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.07139, allocations: 208.5 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.07141, allocations: 8.375 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.07143, allocations: 8.125 kB / 444.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.0716, allocations: 119.5 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.07162, allocations: 7.984 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.07163, allocations: 8 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.07164, allocations: 0 / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.07168, allocations: 4 kB / 444.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.07192, allocations: 268.8 kB / 444.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.07198, allocations: 22.58 kB / 444.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.072, allocations: 12.92 kB / 444.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.07201, allocations: 4 kB / 444.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.07212, allocations: 59.39 kB / 444.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.07213, allocations: 0 / 444.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001417/0.07228, allocations: 65.53 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.07231, allocations: 55.41 kB / 444.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.07241, allocations: 150.4 kB / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.07242, allocations: 25.7 kB / 445.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.07246, allocations: 96.05 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.07249, allocations: 4 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.07253, allocations: 17.7 kB / 445.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.07258, allocations: 314.8 kB / 445.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.0726, allocations: 8 kB / 445.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.07263, allocations: 25.7 kB / 445.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.07267, allocations: 33.69 kB / 445.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.07268, allocations: 4 kB / 445.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.876e-05/0.07275, allocations: 61.53 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.07277, allocations: 4 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.07278, allocations: 4 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.0728, allocations: 0 / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.606e-05/0.07284, allocations: 0 / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.07285, allocations: 11.92 kB / 445.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.07292, allocations: 11.88 kB / 445.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.07293, allocations: 4.031 kB / 445.7 MB, free: 12.15 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: 5 ($whenCondition1,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.712e-05/0.07299, allocations: 122.7 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.07301, allocations: 7.906 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.07304, allocations: 12.25 kB / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.07305, allocations: 0 / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.07305, allocations: 0 / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.07306, allocations: 3.938 kB / 445.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.0733, allocations: 330.7 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.07331, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.07333, allocations: 3.984 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.07333, allocations: 48 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.07335, allocations: 11.86 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.07335, allocations: 0 / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.07336, allocations: 4 kB / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.07344, allocations: 155.4 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.07348, allocations: 97 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.0735, allocations: 3.938 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.07359, allocations: 7.984 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.07363, allocations: 4 kB / 446.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.07364, allocations: 0 / 446.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.07369, allocations: 115.2 kB / 446.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0737, allocations: 0 / 446.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.07391, allocations: 8 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.485e-05/0.07397, allocations: 103.2 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.07405, allocations: 23.94 kB / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.07406, allocations: 0 / 446.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.07409, allocations: 11.98 kB / 446.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.07436, allocations: 21.23 kB / 446.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.07467, allocations: 217.7 kB / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.0748, allocations: 0.6965 MB / 447.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.07483, allocations: 11.44 kB / 447.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.07484, allocations: 0 / 447.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of Templates: time 0.001928/0.07677, allocations: 0.9095 MB / 448.5 MB, free: 9.133 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)