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.001077/0.001077, allocations: 105.5 kB / 16.45 MB, free: 6.43 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.00122/0.00122, allocations: 189 kB / 17.39 MB, free: 5.656 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.638/1.638, allocations: 205.1 MB / 223.3 MB, free: 12.18 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.07702/0.07702, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.003802/0.003802, allocations: 94.62 kB / 394.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1795, allocations: 49.41 MB / 443.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.006159/0.1857, allocations: 1.495 MB / 445 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1874, allocations: 0.4934 MB / 445.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1876, allocations: 8 kB / 445.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.649e-05/0.1877, allocations: 11.86 kB / 445.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.188, allocations: 15.86 kB / 445.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.1886, allocations: 71.86 kB / 445.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1888, allocations: 51.8 kB / 445.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.189, allocations: 23.91 kB / 445.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1891, allocations: 23.86 kB / 445.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1892, allocations: 27.8 kB / 445.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.1892, allocations: 4 kB / 445.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.211e-05/0.1893, allocations: 8 kB / 445.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.1894, allocations: 15.92 kB / 445.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.1895, allocations: 27.81 kB / 445.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1897, allocations: 63.73 kB / 445.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.1898, allocations: 0 / 445.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1898, allocations: 0 / 445.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1898, allocations: 0 / 445.9 MB, free: 14.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009042/0.1907, allocations: 391.1 kB / 446.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.1908, allocations: 8.031 kB / 446.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.1909, allocations: 16.84 kB / 446.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.1915, allocations: 212.5 kB / 446.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1915, allocations: 384 / 446.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1915, allocations: 8.125 kB / 446.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.192, allocations: 123.6 kB / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.192, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.192, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.192, allocations: 0 / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.1921, allocations: 19.92 kB / 446.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009086/0.1931, allocations: 272.7 kB / 446.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1932, allocations: 26.52 kB / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.1933, allocations: 12.92 kB / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1934, allocations: 0 / 446.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.1936, allocations: 59.33 kB / 447 MB, free: 12.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1936, allocations: 0 / 447 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004271/0.1941, allocations: 69.59 kB / 447.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.1942, allocations: 51.41 kB / 447.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.1945, allocations: 154.4 kB / 447.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.1946, allocations: 25.7 kB / 447.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1947, allocations: 88.14 kB / 447.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1948, allocations: 7.906 kB / 447.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1949, allocations: 21.7 kB / 447.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000328/0.1952, allocations: 318.8 kB / 447.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1953, allocations: 15.92 kB / 447.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1954, allocations: 17.72 kB / 447.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1955, allocations: 29.72 kB / 447.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1955, allocations: 0 / 447.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000249/0.1958, allocations: 65.53 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.1958, allocations: 4 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1959, allocations: 0 / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.1959, allocations: 4.062 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.196, allocations: 7.984 kB / 447.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.196, allocations: 0 / 447.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1962, allocations: 7.938 kB / 447.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1962, allocations: 3.938 kB / 447.9 MB, free: 12 MB / 334.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 0.0001732/0.1964, allocations: 121.8 kB / 448 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1964, allocations: 7.906 kB / 448 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.1965, allocations: 12.25 kB / 448 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1965, allocations: 0 / 448 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.1966, allocations: 4 kB / 448 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.1966, allocations: 11.86 kB / 448 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.1973, allocations: 322.5 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1973, allocations: 4.125 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1974, allocations: 0 / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1974, allocations: 0 / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.1974, allocations: 3.938 kB / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1974, allocations: 0 / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1975, allocations: 0 / 448.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1978, allocations: 163.7 kB / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1979, allocations: 97 kB / 448.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.198, allocations: 3.938 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1982, allocations: 7.984 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.1982, allocations: 3.938 kB / 448.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1983, allocations: 8 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1984, allocations: 115.9 kB / 448.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1985, allocations: 4 kB / 448.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.1989, allocations: 4 kB / 448.7 MB, free: 11.02 MB / 334.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 0.0001637/0.1991, allocations: 103.2 kB / 448.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1993, allocations: 23.94 kB / 448.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1993, allocations: 0 / 448.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.1994, allocations: 15.98 kB / 448.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.1999, allocations: 15.98 kB / 448.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.2006, allocations: 162.3 kB / 449.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.2011, allocations: 0.6885 MB / 449.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.2012, allocations: 4 kB / 449.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.2012, allocations: 15.42 kB / 449.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of SimCode: time 3.637e-06/0.2012, allocations: 0 / 449.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of Templates: time 0.00592/0.2072, allocations: 0.7981 MB / 450.6 MB, free: 9.145 MB / 334.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)