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.001308/0.001308, allocations: 92.33 kB / 15.74 MB, free: 408 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.002065/0.002065, allocations: 174.7 kB / 16.62 MB, free: 5.738 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.719/1.719, allocations: 205.4 MB / 222.8 MB, free: 5.551 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.08592/0.08592, allocations: 12.59 MB / 283.7 MB, free: 8.684 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.0007078/0.0007082, allocations: 20 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1146, allocations: 50.38 MB / 394.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.002123/0.1168, allocations: 1.337 MB / 396.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.1178, allocations: 0.4922 MB / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1179, allocations: 4 kB / 396.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.118, allocations: 3.938 kB / 396.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1181, allocations: 15.86 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1184, allocations: 31.97 kB / 396.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1186, allocations: 67.72 kB / 396.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1187, allocations: 15.98 kB / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1188, allocations: 35.84 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.1189, allocations: 23.91 kB / 396.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.119, allocations: 4 kB / 396.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.119, allocations: 3.938 kB / 396.9 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.119, allocations: 8 kB / 397 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.119, allocations: 33.64 kB / 397 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1192, allocations: 48.12 kB / 397 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1192, allocations: 4 kB / 397 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1192, allocations: 0 / 397 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1192, allocations: 0 / 397 MB, free: 0.6328 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.0005959/0.1198, allocations: 379 kB / 397.4 MB, free: 220 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1199, allocations: 16.02 kB / 397.4 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1199, allocations: 7.906 kB / 397.4 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1201, allocations: 183.1 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.1202, allocations: 3.938 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1202, allocations: 8 kB / 397.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1205, allocations: 125.9 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1205, allocations: 0 / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1205, allocations: 3.938 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1205, allocations: 4 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1206, allocations: 43.91 kB / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1211, allocations: 373.8 kB / 398.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1214, allocations: 111.8 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.1215, allocations: 34.64 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1216, allocations: 19.91 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1218, allocations: 81.09 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1218, allocations: 0 / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000301/0.1221, allocations: 129.4 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.1222, allocations: 110.8 kB / 398.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.1223, allocations: 133.7 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1223, allocations: 29.7 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1223, allocations: 88.33 kB / 398.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1224, allocations: 15.8 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.1224, allocations: 4 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1225, allocations: 326.9 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.1226, allocations: 19.98 kB / 399.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.1227, allocations: 69.98 kB / 399.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1228, allocations: 121 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1228, allocations: 0 / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002087/0.123, allocations: 117.5 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1231, allocations: 8 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1231, allocations: 3.984 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1231, allocations: 4 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.1232, allocations: 15.94 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1232, allocations: 4 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.1233, allocations: 27.83 kB / 399.6 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1233, allocations: 4 kB / 399.6 MB, free: 13.73 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.000107/0.1234, allocations: 133.7 kB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.1235, allocations: 61.53 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.1235, allocations: 11.91 kB / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1235, allocations: 0 / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1236, allocations: 3.938 kB / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1236, allocations: 0 / 399.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.1239, allocations: 343.1 kB / 400.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1239, allocations: 4 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.124, allocations: 19.92 kB / 400.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1241, allocations: 4 kB / 400.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1241, allocations: 3.984 kB / 400.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1241, allocations: 3.984 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1241, allocations: 4 kB / 400.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1244, allocations: 213.1 kB / 400.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.1244, allocations: 92.98 kB / 400.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1244, allocations: 0 / 400.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1245, allocations: 11.98 kB / 400.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1246, allocations: 12 kB / 400.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1246, allocations: 8.078 kB / 400.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.1247, allocations: 103.1 kB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1247, allocations: 0 / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1249, allocations: 19.95 kB / 400.6 MB, free: 12.59 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 9.966e-05/0.1251, allocations: 103.2 kB / 400.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1253, allocations: 72.16 kB / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1253, allocations: 0 / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.1254, allocations: 27.92 kB / 400.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1257, allocations: 44 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.1261, allocations: 228.8 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1264, allocations: 0.7004 MB / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.1265, allocations: 8.672 kB / 401.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.1265, allocations: 19.36 kB / 401.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1265, allocations: 0 / 401.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Templates: time 0.003292/0.1298, allocations: 0.9178 MB / 402.7 MB, free: 10.41 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: