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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 105.6 kB / 16.03 MB, free: 6.367 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.001755/0.001755, allocations: 187.1 kB / 16.95 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09771/0.09771, allocations: 12.58 MB / 282.7 MB, free: 15.64 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 87.88 kB / 343 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 49.38 MB / 392.3 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.003449/0.3612, allocations: 1.557 MB / 393.9 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009496/0.3622, allocations: 0.499 MB / 394.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.3623, allocations: 2.625 kB / 394.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.771e-05/0.3624, allocations: 5.766 kB / 394.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.3625, allocations: 8.797 kB / 394.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.3629, allocations: 62.27 kB / 394.5 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.363, allocations: 60.41 kB / 394.5 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3632, allocations: 20.39 kB / 394.6 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.3632, allocations: 18.8 kB / 394.6 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.3633, allocations: 26.81 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3633, allocations: 3.094 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.3633, allocations: 7.031 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.3634, allocations: 12.09 kB / 394.6 MB, free: 47.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.3635, allocations: 33.81 kB / 394.7 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3636, allocations: 63.86 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3636, allocations: 0 / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3636, allocations: 0 / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.3636, allocations: 5.281 kB / 394.7 MB, free: 47.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005213/0.3642, allocations: 392 kB / 395.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.3642, allocations: 9.375 kB / 395.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3643, allocations: 10.31 kB / 395.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3645, allocations: 199.2 kB / 395.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3645, allocations: 5.812 kB / 395.3 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3645, allocations: 9.297 kB / 395.3 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3648, allocations: 129.4 kB / 395.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.3648, allocations: 0 / 395.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3648, allocations: 0.5625 kB / 395.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3648, allocations: 1.219 kB / 395.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.3649, allocations: 14.78 kB / 395.5 MB, free: 46.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3652, allocations: 265.8 kB / 395.7 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.3653, allocations: 25.66 kB / 395.8 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.3653, allocations: 12.55 kB / 395.8 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.3653, allocations: 8.484 kB / 395.8 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.3655, allocations: 63.88 kB / 395.8 MB, free: 46.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3655, allocations: 0 / 395.8 MB, free: 46.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.3657, allocations: 65.44 kB / 395.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.3657, allocations: 56 kB / 396 MB, free: 46.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3659, allocations: 153.8 kB / 396.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3659, allocations: 25.7 kB / 396.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.3659, allocations: 93.95 kB / 396.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.366, allocations: 3.906 kB / 396.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.366, allocations: 30.22 kB / 396.3 MB, free: 46.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.3661, allocations: 320.5 kB / 396.6 MB, free: 45.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.3661, allocations: 6.781 kB / 396.6 MB, free: 45.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.3661, allocations: 21.75 kB / 396.6 MB, free: 45.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.3662, allocations: 28.86 kB / 396.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3662, allocations: 0 / 396.6 MB, free: 45.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.883e-05/0.3663, allocations: 59.86 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3663, allocations: 6.156 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3663, allocations: 0.9688 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3663, allocations: 0 / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.3664, allocations: 3.078 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3664, allocations: 1.219 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.3665, allocations: 13.5 kB / 396.7 MB, free: 45.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3665, allocations: 2.781 kB / 396.7 MB, free: 45.64 MB / 318.1 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 7.753e-05/0.3666, allocations: 122.5 kB / 396.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.3666, allocations: 12.33 kB / 396.9 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.3666, allocations: 13.89 kB / 396.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3666, allocations: 0 / 396.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3666, allocations: 1.156 kB / 396.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3667, allocations: 4.594 kB / 396.9 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.367, allocations: 316.4 kB / 397.2 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.367, allocations: 1.094 kB / 397.2 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.367, allocations: 4.641 kB / 397.2 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.367, allocations: 9.062 kB / 397.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.367, allocations: 5.062 kB / 397.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.367, allocations: 0.6094 kB / 397.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.367, allocations: 0 / 397.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3671, allocations: 152.3 kB / 397.4 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.3672, allocations: 93.59 kB / 397.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3672, allocations: 5.812 kB / 397.4 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.3673, allocations: 9.844 kB / 397.5 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3674, allocations: 9.078 kB / 397.5 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3674, allocations: 1.031 kB / 397.5 MB, free: 44.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.3675, allocations: 124.1 kB / 397.6 MB, free: 44.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3675, allocations: 0 / 397.6 MB, free: 44.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3677, allocations: 7.094 kB / 397.6 MB, free: 44.83 MB / 318.1 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 7.721e-05/0.3678, allocations: 98.17 kB / 397.7 MB, free: 44.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.3679, allocations: 25.75 kB / 397.7 MB, free: 44.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.3679, allocations: 4.062 kB / 397.7 MB, free: 44.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.3679, allocations: 9.609 kB / 397.7 MB, free: 44.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3682, allocations: 30.12 kB / 397.8 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.3686, allocations: 193.9 kB / 397.9 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.3688, allocations: 0.6992 MB / 398.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.3688, allocations: 10.2 kB / 398.7 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3689, allocations: 10.28 kB / 398.7 MB, free: 43.83 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3689, allocations: 1.5 kB / 398.7 MB, free: 43.83 MB / 318.1 MB Notification: Performance of Templates: time 0.003375/0.3722, allocations: 0.7428 MB / 399.4 MB, free: 43.55 MB / 318.1 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)