Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001067/0.001067, allocations: 175.9 kB / 16.77 MB, free: 4.922 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.673/1.673, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007897/0.0007896, allocations: 84.86 kB / 271.3 MB, free: 8.258 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.08205/0.08205, allocations: 12.59 MB / 332.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004314, allocations: 12 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09825, allocations: 50.38 MB / 443 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.001614/0.09993, allocations: 1.203 MB / 444.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.1009, allocations: 468.1 kB / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.101, allocations: 3.938 kB / 444.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.1011, allocations: 7.984 kB / 444.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1013, allocations: 15.86 kB / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1017, allocations: 59.88 kB / 444.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1018, allocations: 47.8 kB / 444.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.102, allocations: 15.98 kB / 444.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.102, allocations: 15.94 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.1021, allocations: 23.86 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1021, allocations: 0 / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.1021, allocations: 4 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1022, allocations: 15.92 kB / 444.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1022, allocations: 53.5 kB / 444.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.1023, allocations: 31.94 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1023, allocations: 0 / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1024, allocations: 7.938 kB / 444.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1024, allocations: 0 / 444.9 MB, free: 14.15 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.0005929/0.103, allocations: 383.5 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.103, allocations: 12.03 kB / 445.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1031, allocations: 12.75 kB / 445.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1033, allocations: 208.5 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1034, allocations: 8.359 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1034, allocations: 8.125 kB / 445.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.1036, allocations: 119.6 kB / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1036, allocations: 0 / 445.6 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1037, allocations: 7.938 kB / 445.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1037, allocations: 0 / 445.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.1037, allocations: 11.98 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1041, allocations: 264.9 kB / 445.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.1041, allocations: 26.56 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.1041, allocations: 8.922 kB / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.1042, allocations: 0 / 446 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.1043, allocations: 59.34 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1043, allocations: 7.938 kB / 446 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.1045, allocations: 65.58 kB / 446.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.1045, allocations: 51.41 kB / 446.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1046, allocations: 154.4 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1047, allocations: 25.7 kB / 446.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.1047, allocations: 96.05 kB / 446.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.258e-06/0.1047, allocations: 0 / 446.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1047, allocations: 4 kB / 446.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.1048, allocations: 326.7 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.1048, allocations: 8 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.1049, allocations: 21.72 kB / 446.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.1049, allocations: 25.7 kB / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1049, allocations: 0 / 446.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.737e-05/0.105, allocations: 65.53 kB / 446.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.105, allocations: 4.781 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.105, allocations: 4.031 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.105, allocations: 4 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.1051, allocations: 0 / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1051, allocations: 0 / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1052, allocations: 11.94 kB / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1052, allocations: 4.109 kB / 446.9 MB, free: 11.93 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.1053, allocations: 121.6 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1053, allocations: 7.906 kB / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.1053, allocations: 24.17 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1053, allocations: 4 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.1053, allocations: 0 / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1054, allocations: 3.938 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.1056, allocations: 330.6 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1057, allocations: 0 / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.1057, allocations: 4 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1057, allocations: 4 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1057, allocations: 7.938 kB / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1057, allocations: 0 / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1057, allocations: 3.938 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.716e-05/0.1058, allocations: 151.5 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1058, allocations: 89 kB / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1059, allocations: 7.922 kB / 447.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.106, allocations: 12 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.106, allocations: 7.984 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.106, allocations: 4 kB / 447.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.1061, allocations: 107.2 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1061, allocations: 0 / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.1063, allocations: 11.94 kB / 447.8 MB, free: 10.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.266e-05/0.1064, allocations: 99.25 kB / 447.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.1065, allocations: 27.86 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1065, allocations: 4.062 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1065, allocations: 12 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1069, allocations: 21.23 kB / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.1073, allocations: 199.1 kB / 448.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.1075, allocations: 0.6965 MB / 448.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.1075, allocations: 11.44 kB / 448.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1075, allocations: 3.938 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of Templates: time 0.002346/0.1099, allocations: 0.905 MB / 449.7 MB, free: 8.902 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)