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.001046/0.001046, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009476/0.0009477, allocations: 180 kB / 16.62 MB, free: 6.559 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.564/1.564, allocations: 205.4 MB / 222.8 MB, free: 5.586 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.0899/0.0899, allocations: 12.6 MB / 283.6 MB, free: 8.695 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.0007225/0.0007225, allocations: 16 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1213, allocations: 50.39 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001944/0.1233, allocations: 1.334 MB / 396.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007337/0.124, allocations: 488.1 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1241, allocations: 0 / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1241, allocations: 3.938 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.1242, allocations: 19.97 kB / 396.7 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1245, allocations: 39.83 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1246, allocations: 47.94 kB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1247, allocations: 11.98 kB / 396.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.235e-05/0.1248, allocations: 31.84 kB / 396.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1249, allocations: 27.86 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1249, allocations: 7.938 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.125, allocations: 4 kB / 396.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.125, allocations: 3.984 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.125, allocations: 41.64 kB / 396.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.359e-05/0.1251, allocations: 44.12 kB / 397 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1251, allocations: 0 / 397 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1251, allocations: 0 / 397 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1251, allocations: 4 kB / 397 MB, free: 0.6836 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.0005528/0.1257, allocations: 391 kB / 397.4 MB, free: 260 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1257, allocations: 8.031 kB / 397.4 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1258, allocations: 7.906 kB / 397.4 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.126, allocations: 190.9 kB / 397.6 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.126, allocations: 7.984 kB / 397.6 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.126, allocations: 11.98 kB / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.1263, allocations: 117.8 kB / 397.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1263, allocations: 3.984 kB / 397.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1263, allocations: 0 / 397.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1263, allocations: 4 kB / 397.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1264, allocations: 35.92 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.1269, allocations: 381.7 kB / 398.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.1272, allocations: 111.9 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1272, allocations: 3.984 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1274, allocations: 89.16 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1274, allocations: 0 / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003129/0.1277, allocations: 121.4 kB / 398.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.1278, allocations: 110.8 kB / 398.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.1279, allocations: 129.9 kB / 398.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.128, allocations: 29.7 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.128, allocations: 96.31 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.128, allocations: 15.81 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.1281, allocations: 0 / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1282, allocations: 322.8 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.1283, allocations: 23.98 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.1283, allocations: 66 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1285, allocations: 121 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1285, allocations: 4 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002111/0.1287, allocations: 121.4 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1288, allocations: 5.25 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1288, allocations: 4 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1288, allocations: 4 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1289, allocations: 28.11 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1289, allocations: 4 kB / 399.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.129, allocations: 23.83 kB / 399.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.129, allocations: 4 kB / 399.5 MB, free: 13.82 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 sytem: 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.1292, allocations: 126.1 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.1293, allocations: 61.52 kB / 399.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.1293, allocations: 23.83 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1293, allocations: 0 / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1293, allocations: 8 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1293, allocations: 0 / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.1297, allocations: 338.5 kB / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1297, allocations: 0 / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1299, allocations: 19.98 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1299, allocations: 0 / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1299, allocations: 8 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1299, allocations: 0 / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1299, allocations: 0 / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1302, allocations: 236.5 kB / 400.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1303, allocations: 85.02 kB / 400.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1303, allocations: 11.98 kB / 400.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1304, allocations: 11.95 kB / 400.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.1305, allocations: 7.984 kB / 400.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1305, allocations: 4 kB / 400.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.441e-05/0.1306, allocations: 99.2 kB / 400.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1306, allocations: 4 kB / 400.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1309, allocations: 20 kB / 400.6 MB, free: 12.65 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 (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 0.0001146/0.131, allocations: 99.17 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1312, allocations: 71.94 kB / 400.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1312, allocations: 384 / 400.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1313, allocations: 31.92 kB / 400.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1316, allocations: 36.06 kB / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.1321, allocations: 240.6 kB / 401 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1325, allocations: 0.7004 MB / 401.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1325, allocations: 12.66 kB / 401.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1326, allocations: 11.44 kB / 401.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1326, allocations: 0 / 401.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.00341/0.136, allocations: 0.9062 MB / 402.7 MB, free: 10.49 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: