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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02541/0.02552, allocations: 115.7 kB / 17.12 MB, free: 5.922 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 194.1 kB / 20.07 MB, free: 2.988 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 227.9 MB, free: 4.328 MB / 174.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1516/0.1516, allocations: 12.59 MB / 289.9 MB, free: 6.418 MB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") [Timeout 660] 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.002388/0.002388, allocations: 96.95 kB / 402.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5391, allocations: 49.4 MB / 452.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.003743/0.5429, allocations: 1.496 MB / 453.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.5451, allocations: 0.4972 MB / 454.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.5453, allocations: 6.094 kB / 454.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.5453, allocations: 5 kB / 454.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.5454, allocations: 17.97 kB / 454.3 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.5458, allocations: 64.16 kB / 454.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.5461, allocations: 60.72 kB / 454.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.5462, allocations: 23.81 kB / 454.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.5463, allocations: 24.22 kB / 454.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.5463, allocations: 22.67 kB / 454.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.5463, allocations: 3.844 kB / 454.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.5463, allocations: 1.906 kB / 454.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.5466, allocations: 25.75 kB / 454.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.5466, allocations: 31.36 kB / 454.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.547, allocations: 54.81 kB / 454.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.547, allocations: 1.625 kB / 454.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.547, allocations: 7.938 kB / 454.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.5473, allocations: 0 / 454.6 MB, free: 2.789 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.002073/0.5494, allocations: 394.3 kB / 455 MB, free: 2.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.5494, allocations: 9.188 kB / 455 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.5496, allocations: 14.91 kB / 455 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.5502, allocations: 203.6 kB / 455.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.5502, allocations: 7 kB / 455.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5503, allocations: 11.62 kB / 455.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.5508, allocations: 115.5 kB / 455.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.551, allocations: 4 kB / 455.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.551, allocations: 3.984 kB / 455.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.551, allocations: 1.312 kB / 455.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.551, allocations: 16.48 kB / 455.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.5515, allocations: 263.6 kB / 455.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.5517, allocations: 29.94 kB / 455.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.5517, allocations: 11.8 kB / 455.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.5517, allocations: 0 / 455.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.5522, allocations: 61.02 kB / 455.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.5522, allocations: 0 / 455.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0009109/0.5531, allocations: 64.64 kB / 455.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.5531, allocations: 55.39 kB / 455.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.5532, allocations: 152.6 kB / 456 MB, free: 1.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.5532, allocations: 39.5 kB / 456 MB, free: 1.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.5532, allocations: 85.92 kB / 456.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.5532, allocations: 13.75 kB / 456.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.5533, allocations: 19.25 kB / 456.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 2.931e-05/0.5533, allocations: 320.9 kB / 456.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.5533, allocations: 8.219 kB / 456.5 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.5534, allocations: 27.89 kB / 456.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.5534, allocations: 28.06 kB / 456.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5534, allocations: 0 / 456.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.029e-05/0.5535, allocations: 63.23 kB / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5535, allocations: 6.188 kB / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.5535, allocations: 0 / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.5536, allocations: 0.9688 kB / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.5537, allocations: 3.156 kB / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.5537, allocations: 0 / 456.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.5537, allocations: 11.14 kB / 456.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5537, allocations: 7.312 kB / 456.6 MB, free: 0.7695 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 4.6e-05/0.5538, allocations: 114.9 kB / 456.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.5539, allocations: 13.19 kB / 456.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.554, allocations: 10.75 kB / 456.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.554, allocations: 4 kB / 456.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.554, allocations: 1.375 kB / 456.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.554, allocations: 3.938 kB / 456.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.5542, allocations: 328.9 kB / 457.1 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5542, allocations: 0 / 457.1 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.5542, allocations: 1.656 kB / 457.1 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5542, allocations: 0 / 457.1 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5542, allocations: 3.938 kB / 457.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5542, allocations: 5.359 kB / 457.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5542, allocations: 0 / 457.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.5543, allocations: 158.7 kB / 457.2 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.5544, allocations: 94.55 kB / 457.3 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5544, allocations: 5.312 kB / 457.3 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.5544, allocations: 10.73 kB / 457.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.5545, allocations: 2.75 kB / 457.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5545, allocations: 1.375 kB / 457.3 MB, free: 8 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.5546, allocations: 115.3 kB / 457.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5546, allocations: 0 / 457.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.5548, allocations: 12.25 kB / 457.5 MB, free: 15.91 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.0002513/0.5551, allocations: 95.56 kB / 457.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.5557, allocations: 34.98 kB / 457.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5558, allocations: 1.375 kB / 457.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.5558, allocations: 12.25 kB / 457.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.5561, allocations: 20.22 kB / 457.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.5568, allocations: 160.6 kB / 457.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.5571, allocations: 0.6941 MB / 458.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.5571, allocations: 4.125 kB / 458.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5573, allocations: 11.56 kB / 458.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5573, allocations: 0 / 458.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of Templates: time 0.005203/0.5625, allocations: 0.7998 MB / 459.3 MB, free: 14.5 MB / 334.1 MB [Timeout remaining time 659] make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile [Timeout 660] (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) [Timeout 480]