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.0007214/0.0007215, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007426/0.0007427, allocations: 182 kB / 16.96 MB, free: 6.895 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.226/1.226, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06046/0.06046, allocations: 12.6 MB / 284 MB, free: 8.574 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.0006271/0.0006271, allocations: 24.94 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.07428, allocations: 50.39 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001425/0.07573, allocations: 1.208 MB / 396.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.07644, allocations: 491.8 kB / 397.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.07652, allocations: 4 kB / 397.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.07656, allocations: 3.938 kB / 397.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.07667, allocations: 19.91 kB / 397.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.07695, allocations: 63.89 kB / 397.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.07704, allocations: 51.78 kB / 397.4 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.07713, allocations: 12 kB / 397.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.07717, allocations: 23.86 kB / 397.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.07722, allocations: 23.8 kB / 397.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.07724, allocations: 4 kB / 397.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.07725, allocations: 0 / 397.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.0773, allocations: 4 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.07735, allocations: 69.36 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.635e-05/0.07744, allocations: 56.03 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.07745, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.07745, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.07746, allocations: 0 / 397.6 MB, free: 396 kB / 286.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.0004379/0.0779, allocations: 383.2 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.07794, allocations: 8.031 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.07797, allocations: 12.75 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.07817, allocations: 204.6 kB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.0782, allocations: 8.375 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.07822, allocations: 8.125 kB / 398.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.07845, allocations: 123.6 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.07847, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.07848, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.07849, allocations: 0 / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.07854, allocations: 11.92 kB / 398.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.07887, allocations: 272.8 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.07895, allocations: 26.58 kB / 398.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.07898, allocations: 16.91 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.079, allocations: 0 / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.07913, allocations: 55.34 kB / 398.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.07914, allocations: 0 / 398.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.07931, allocations: 65.59 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.07937, allocations: 51.41 kB / 398.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.0795, allocations: 154.4 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.07952, allocations: 29.7 kB / 399 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.07958, allocations: 96.03 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.0796, allocations: 7.984 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.07963, allocations: 9.719 kB / 399.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.07973, allocations: 322.8 kB / 399.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.07975, allocations: 8 kB / 399.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.07979, allocations: 17.72 kB / 399.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.07984, allocations: 37.67 kB / 399.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.07985, allocations: 0 / 399.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.343e-05/0.07993, allocations: 61.53 kB / 399.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.07995, allocations: 9.25 kB / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.07996, allocations: 3.938 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.07998, allocations: 0 / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.548e-05/0.08002, allocations: 4 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.08003, allocations: 0 / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.0801, allocations: 19.89 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.08012, allocations: 4 kB / 399.5 MB, free: 14.14 MB / 302.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 8.173e-05/0.0802, allocations: 117.8 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.08022, allocations: 7.906 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.08025, allocations: 16.23 kB / 399.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.08026, allocations: 0 / 399.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.08027, allocations: 0 / 399.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.08028, allocations: 3.938 kB / 399.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.08058, allocations: 334.4 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0806, allocations: 0 / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-06/0.08061, allocations: 0 / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.08061, allocations: 0 / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.08063, allocations: 11.88 kB / 400 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.08063, allocations: 4.125 kB / 400 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.08064, allocations: 0 / 400 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.08076, allocations: 163.7 kB / 400.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.08082, allocations: 93.03 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.08085, allocations: 3.938 kB / 400.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.08094, allocations: 8 kB / 400.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.08097, allocations: 7.984 kB / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.08098, allocations: 0 / 400.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.951e-05/0.08106, allocations: 112 kB / 400.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08106, allocations: 4 kB / 400.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.08128, allocations: 12 kB / 400.4 MB, free: 13.16 MB / 302.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.63e-05/0.08136, allocations: 95.25 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.08144, allocations: 23.92 kB / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.08145, allocations: 0 / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.08148, allocations: 12 kB / 400.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.08176, allocations: 20.48 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.08205, allocations: 185.4 kB / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.08229, allocations: 0.6965 MB / 401.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.08232, allocations: 11.77 kB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.08235, allocations: 11.44 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08236, allocations: 4 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Templates: time 0.002392/0.08476, allocations: 0.7144 MB / 402.2 MB, free: 11.32 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: