Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009948, allocations: 102.2 kB / 16.02 MB, free: 6.301 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.001121/0.001121, allocations: 197.7 kB / 16.95 MB, free: 6.145 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.625/1.625, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.07759/0.07759, allocations: 12.59 MB / 282.7 MB, free: 8.805 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.001713/0.001713, allocations: 87.86 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.131, allocations: 49.39 MB / 392.4 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.004162/0.1352, allocations: 1.711 MB / 394.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.1362, allocations: 0.5036 MB / 394.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.1363, allocations: 0 / 394.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.1364, allocations: 0 / 394.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1365, allocations: 19.84 kB / 394.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1368, allocations: 43.91 kB / 394.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.137, allocations: 79.7 kB / 394.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1371, allocations: 16 kB / 394.7 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1372, allocations: 31.91 kB / 394.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.1373, allocations: 31.84 kB / 394.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1373, allocations: 4 kB / 394.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.253e-05/0.1374, allocations: 4 kB / 394.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.1374, allocations: 19.92 kB / 394.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.1375, allocations: 31.8 kB / 394.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1377, allocations: 71.95 kB / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1377, allocations: 0 / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1377, allocations: 0 / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1377, allocations: 0 / 394.9 MB, free: 1.023 MB / 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.000752/0.1385, allocations: 383.2 kB / 395.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1385, allocations: 8.031 kB / 395.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.1386, allocations: 12.84 kB / 395.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1388, allocations: 200.1 kB / 395.5 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1389, allocations: 4.375 kB / 395.5 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1389, allocations: 8.312 kB / 395.5 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1392, allocations: 126 kB / 395.7 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1392, allocations: 4 kB / 395.7 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1392, allocations: 8 kB / 395.7 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1392, allocations: 0 / 395.7 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1394, allocations: 27.97 kB / 395.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.1399, allocations: 385.8 kB / 396.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1402, allocations: 103.8 kB / 396.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.1403, allocations: 34.56 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1403, allocations: 4 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1406, allocations: 88.98 kB / 396.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1406, allocations: 0 / 396.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003402/0.1409, allocations: 121.5 kB / 396.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.141, allocations: 115.2 kB / 396.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1411, allocations: 125.8 kB / 396.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1412, allocations: 29.7 kB / 396.7 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.1412, allocations: 96.03 kB / 396.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1413, allocations: 15.81 kB / 396.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1413, allocations: 25.7 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1415, allocations: 322.8 kB / 397.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.1415, allocations: 27.98 kB / 397.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.1416, allocations: 65.98 kB / 397.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1419, allocations: 187 kB / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1419, allocations: 0 / 397.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00021/0.1421, allocations: 117.5 kB / 397.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1421, allocations: 4 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1421, allocations: 4 kB / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1422, allocations: 0 / 397.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1422, allocations: 23.92 kB / 397.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1423, allocations: 0 / 397.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1423, allocations: 15.92 kB / 397.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1424, allocations: 8 kB / 397.6 MB, free: 14.02 MB / 302.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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: 2 (firstOrder.y,$DER.firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.000131/0.1425, allocations: 129.9 kB / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.1426, allocations: 61.53 kB / 397.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.1426, allocations: 7.906 kB / 397.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1427, allocations: 7.938 kB / 397.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1427, allocations: 0 / 397.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.1427, allocations: 0 / 397.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.143, allocations: 338.3 kB / 398.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1431, allocations: 4 kB / 398.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1432, allocations: 23.92 kB / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1432, allocations: 0 / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1432, allocations: 11.98 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1432, allocations: 3.938 kB / 398.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1432, allocations: 3.938 kB / 398.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1435, allocations: 205.1 kB / 398.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1436, allocations: 85.09 kB / 398.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1437, allocations: 4 kB / 398.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1438, allocations: 7.984 kB / 398.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1438, allocations: 15.94 kB / 398.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1439, allocations: 4 kB / 398.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.1439, allocations: 103.2 kB / 398.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1439, allocations: 0 / 398.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1442, allocations: 19.91 kB / 398.6 MB, free: 12.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0001262/0.1443, allocations: 103.2 kB / 398.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1445, allocations: 76.19 kB / 398.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1445, allocations: 0 / 398.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.1446, allocations: 24.02 kB / 398.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.145, allocations: 51.98 kB / 398.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.1455, allocations: 225.3 kB / 399.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1459, allocations: 0.7 MB / 399.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.1459, allocations: 4.672 kB / 399.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.146, allocations: 19.42 kB / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.146, allocations: 0 / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Templates: time 0.003625/0.1496, allocations: 1.044 MB / 400.8 MB, free: 10.6 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)