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.01261/0.01262, allocations: 90.16 kB / 15.91 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.003089/0.003089, allocations: 200.5 kB / 16.83 MB, free: 6.234 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.806/1.806, allocations: 205.1 MB / 222.7 MB, free: 4.805 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.08671/0.08671, allocations: 12.59 MB / 282.6 MB, free: 8.91 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.001681/0.001681, allocations: 76.83 kB / 342.8 MB, free: 21.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1262, allocations: 49.4 MB / 392.2 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.002952/0.1292, allocations: 1.707 MB / 393.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.13, allocations: 0.5035 MB / 394.4 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.1301, allocations: 4 kB / 394.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.1301, allocations: 3.938 kB / 394.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.1302, allocations: 15.84 kB / 394.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1305, allocations: 35.97 kB / 394.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1306, allocations: 71.72 kB / 394.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1307, allocations: 19.98 kB / 394.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.1308, allocations: 31.86 kB / 394.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.1309, allocations: 35.83 kB / 394.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1309, allocations: 0 / 394.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.131, allocations: 4 kB / 394.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.131, allocations: 15.92 kB / 394.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1311, allocations: 27.81 kB / 394.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1312, allocations: 68 kB / 394.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1312, allocations: 0 / 394.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1312, allocations: 0 / 394.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1312, allocations: 4 kB / 394.7 MB, free: 1.168 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.0005977/0.1318, allocations: 391.2 kB / 395.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1319, allocations: 8.031 kB / 395.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1319, allocations: 8.844 kB / 395.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1321, allocations: 184.2 kB / 395.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1321, allocations: 4.375 kB / 395.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1322, allocations: 4.375 kB / 395.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1324, allocations: 138.1 kB / 395.4 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1325, allocations: 3.938 kB / 395.5 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1325, allocations: 0 / 395.5 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1325, allocations: 4 kB / 395.5 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1326, allocations: 31.97 kB / 395.5 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1331, allocations: 373.8 kB / 395.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.1335, allocations: 111.8 kB / 396 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.1336, allocations: 38.62 kB / 396 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1336, allocations: 4 kB / 396 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.1338, allocations: 89.03 kB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1338, allocations: 3.938 kB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003261/0.1341, allocations: 117.8 kB / 396.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.1342, allocations: 110.8 kB / 396.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.1343, allocations: 129.8 kB / 396.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1344, allocations: 33.83 kB / 396.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1344, allocations: 92.05 kB / 396.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1345, allocations: 19.8 kB / 396.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1345, allocations: 25.72 kB / 396.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1346, allocations: 322.8 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1347, allocations: 27.92 kB / 397 MB, free: 14.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.1348, allocations: 69.98 kB / 397 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.135, allocations: 175.1 kB / 397.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1351, allocations: 0 / 397.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002106/0.1353, allocations: 117.4 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1353, allocations: 8 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1353, allocations: 0 / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1353, allocations: 4 kB / 397.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.1354, allocations: 20.17 kB / 397.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1354, allocations: 7.938 kB / 397.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.1355, allocations: 15.92 kB / 397.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1356, allocations: 8 kB / 397.4 MB, free: 14.17 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.0001199/0.1357, allocations: 117.8 kB / 397.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.1358, allocations: 57.59 kB / 397.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.1358, allocations: 15.89 kB / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1358, allocations: 0 / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1358, allocations: 8 kB / 397.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1359, allocations: 3.938 kB / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.1362, allocations: 338.4 kB / 397.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1363, allocations: 0 / 397.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1364, allocations: 27.92 kB / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1364, allocations: 0 / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1364, allocations: 0 / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1364, allocations: 4 kB / 397.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1364, allocations: 11.88 kB / 397.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1367, allocations: 205.5 kB / 398.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.1368, allocations: 81.11 kB / 398.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1368, allocations: 7.984 kB / 398.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1369, allocations: 12 kB / 398.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.137, allocations: 16 kB / 398.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.137, allocations: 3.938 kB / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.22e-05/0.1371, allocations: 103.2 kB / 398.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 398.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1374, allocations: 19.91 kB / 398.4 MB, free: 13.04 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.0001209/0.1375, allocations: 103.2 kB / 398.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1377, allocations: 72.03 kB / 398.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1377, allocations: 0 / 398.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.1378, allocations: 23.98 kB / 398.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1382, allocations: 43.84 kB / 398.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.1387, allocations: 227.3 kB / 398.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1389, allocations: 0.6965 MB / 399.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.139, allocations: 4.672 kB / 399.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.139, allocations: 15.44 kB / 399.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.139, allocations: 0 / 399.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003744/0.1428, allocations: 0.9959 MB / 400.6 MB, free: 10.81 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)