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.001303/0.001303, allocations: 109.4 kB / 16.45 MB, free: 6.438 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.00141/0.00141, allocations: 186.9 kB / 17.39 MB, free: 5.688 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.892/1.892, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.08652/0.08652, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.001756/0.001756, allocations: 77.94 kB / 394.1 MB, free: 45.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1232, allocations: 49.42 MB / 443.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.002774/0.126, allocations: 1.479 MB / 445 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.1269, allocations: 0.5012 MB / 445.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.127, allocations: 4 kB / 445.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.1271, allocations: 7.938 kB / 445.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1272, allocations: 11.86 kB / 445.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1276, allocations: 59.81 kB / 445.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1277, allocations: 59.78 kB / 445.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1278, allocations: 27.89 kB / 445.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.1279, allocations: 23.86 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.1279, allocations: 23.8 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1279, allocations: 8 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.128, allocations: 4 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.128, allocations: 15.94 kB / 445.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.1281, allocations: 35.78 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1282, allocations: 55.75 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1282, allocations: 0 / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1282, allocations: 0 / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1282, allocations: 0 / 445.8 MB, free: 14.18 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.0005679/0.1288, allocations: 395.1 kB / 446.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1288, allocations: 12.03 kB / 446.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1289, allocations: 12.84 kB / 446.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1292, allocations: 216.5 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1292, allocations: 4.375 kB / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1292, allocations: 12.06 kB / 446.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.1295, allocations: 115.6 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1295, allocations: 4 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1295, allocations: 3.984 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1295, allocations: 0 / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.1296, allocations: 8 kB / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.13, allocations: 276.7 kB / 446.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.13, allocations: 26.56 kB / 446.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.1301, allocations: 8.922 kB / 446.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.1301, allocations: 0 / 446.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.1302, allocations: 55.41 kB / 447 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1302, allocations: 7.938 kB / 447 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.1304, allocations: 65.58 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1305, allocations: 55.41 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1307, allocations: 150.4 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1307, allocations: 29.7 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.1308, allocations: 88.14 kB / 447.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.1308, allocations: 7.906 kB / 447.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1308, allocations: 25.7 kB / 447.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.131, allocations: 314.8 kB / 447.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.131, allocations: 8 kB / 447.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.131, allocations: 25.7 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.1311, allocations: 25.66 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1311, allocations: 0 / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.997e-05/0.1312, allocations: 65.77 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1312, allocations: 4 kB / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1312, allocations: 4.062 kB / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1313, allocations: 4 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.1313, allocations: 0 / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.1313, allocations: 7.969 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.1314, allocations: 15.86 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1314, allocations: 4 kB / 447.9 MB, free: 11.91 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.0001128/0.1315, allocations: 117.8 kB / 448 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1316, allocations: 7.906 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.1316, allocations: 12.25 kB / 448 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1316, allocations: 4 kB / 448 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1316, allocations: 3.938 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1316, allocations: 7.938 kB / 448 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.132, allocations: 322.4 kB / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.132, allocations: 0 / 448.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-06/0.132, allocations: 3.984 kB / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1321, allocations: 0 / 448.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1321, allocations: 8.062 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1321, allocations: 4 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1321, allocations: 4 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.1322, allocations: 155.4 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.1323, allocations: 89 kB / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1323, allocations: 3.938 kB / 448.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.1324, allocations: 11.98 kB / 448.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1325, allocations: 4 kB / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1325, allocations: 0 / 448.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.1326, allocations: 119.9 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1326, allocations: 0 / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1328, allocations: 12 kB / 448.7 MB, free: 10.93 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.0001142/0.133, allocations: 95.23 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1331, allocations: 27.92 kB / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1331, allocations: 0 / 448.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.1331, allocations: 15.98 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1335, allocations: 23.98 kB / 448.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.1339, allocations: 158.2 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1343, allocations: 0.6885 MB / 449.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.1344, allocations: 4 kB / 449.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1344, allocations: 11.44 kB / 449.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 0 / 449.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of Templates: time 0.003557/0.138, allocations: 0.8293 MB / 450.6 MB, free: 9.027 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)