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.001151/0.001151, allocations: 108.6 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.001356/0.001356, allocations: 190 kB / 17.39 MB, free: 5.691 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.505/1.505, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08072/0.08072, 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.001783/0.001783, allocations: 95.03 kB / 394.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1321, allocations: 49.4 MB / 443.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.003036/0.1352, allocations: 1.645 MB / 445.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1362, allocations: 0.5035 MB / 445.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.1363, allocations: 4 kB / 445.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.1364, allocations: 11.88 kB / 445.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1365, allocations: 15.84 kB / 445.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1368, allocations: 43.89 kB / 445.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.137, allocations: 79.7 kB / 445.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1372, allocations: 19.98 kB / 445.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1373, allocations: 39.84 kB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.1374, allocations: 31.84 kB / 445.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1374, allocations: 4 kB / 445.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.1374, allocations: 4 kB / 446 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.1375, allocations: 15.92 kB / 446 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.1376, allocations: 35.8 kB / 446 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1377, allocations: 59.8 kB / 446.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1377, allocations: 0 / 446.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1378, allocations: 0 / 446.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1378, allocations: 0 / 446.1 MB, free: 14.09 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.0007244/0.1385, allocations: 399 kB / 446.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1385, allocations: 12.03 kB / 446.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.1386, allocations: 8.844 kB / 446.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1389, allocations: 196.1 kB / 446.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1389, allocations: 8.312 kB / 446.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1389, allocations: 4.375 kB / 446.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1392, allocations: 138.1 kB / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1393, allocations: 7.938 kB / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1393, allocations: 0 / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1393, allocations: 0 / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1394, allocations: 27.98 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1399, allocations: 381.7 kB / 447.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.1403, allocations: 107.8 kB / 447.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1404, allocations: 34.62 kB / 447.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1404, allocations: 0 / 447.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1406, allocations: 89.03 kB / 447.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 4.308e-06/0.1406, allocations: 3.984 kB / 447.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003482/0.141, allocations: 117.5 kB / 447.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.1411, allocations: 110.8 kB / 447.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1412, allocations: 129.8 kB / 447.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1413, allocations: 25.7 kB / 447.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.1413, allocations: 96.27 kB / 447.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1414, allocations: 15.75 kB / 447.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1414, allocations: 29.7 kB / 448 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1416, allocations: 330.8 kB / 448.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.1417, allocations: 23.92 kB / 448.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.1418, allocations: 70 kB / 448.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1421, allocations: 179.1 kB / 448.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1421, allocations: 0 / 448.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002107/0.1423, allocations: 117.4 kB / 448.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1423, allocations: 8 kB / 448.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1423, allocations: 0 / 448.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1424, allocations: 4 kB / 448.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.1424, allocations: 15.98 kB / 448.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1425, allocations: 12.12 kB / 448.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.1426, allocations: 11.91 kB / 448.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1426, allocations: 7.984 kB / 448.7 MB, free: 11.07 MB / 334.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.0001193/0.1427, allocations: 125.7 kB / 448.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.1428, allocations: 57.59 kB / 448.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.1429, allocations: 11.91 kB / 448.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1429, allocations: 0 / 448.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1429, allocations: 0 / 448.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1429, allocations: 15.92 kB / 448.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1433, allocations: 331.1 kB / 449.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1433, allocations: 0 / 449.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1434, allocations: 31.84 kB / 449.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1435, allocations: 4 kB / 449.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1435, allocations: 4 kB / 449.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1435, allocations: 0 / 449.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1435, allocations: 7.938 kB / 449.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1438, allocations: 217.1 kB / 449.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1438, allocations: 88.95 kB / 449.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1439, allocations: 0 / 449.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.144, allocations: 11.98 kB / 449.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.144, allocations: 15.92 kB / 449.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1441, allocations: 4 kB / 449.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.1441, allocations: 95.27 kB / 449.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1441, allocations: 0 / 449.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1444, allocations: 20 kB / 449.7 MB, free: 9.938 MB / 334.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.0001066/0.1445, allocations: 95.25 kB / 449.8 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1447, allocations: 80.2 kB / 449.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1447, allocations: 4 kB / 449.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.1448, allocations: 19.98 kB / 449.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1453, allocations: 35.95 kB / 450 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1457, allocations: 205.3 kB / 450.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1461, allocations: 0.6963 MB / 450.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.1461, allocations: 8.75 kB / 450.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1462, allocations: 15.38 kB / 450.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1462, allocations: 0 / 450.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of Templates: time 0.004499/0.1507, allocations: 1.151 MB / 452 MB, free: 7.57 MB / 334.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)