Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001282, allocations: 84.19 kB / 15.75 MB, free: 416 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.002245/0.002245, allocations: 174.7 kB / 16.63 MB, free: 6.887 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.624/1.624, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.08642/0.08642, allocations: 12.6 MB / 283.7 MB, free: 8.688 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.0007382/0.0007384, allocations: 20 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1254, allocations: 50.39 MB / 394.9 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.002236/0.1276, allocations: 1.314 MB / 396.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.1286, allocations: 0.5078 MB / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.1287, allocations: 0 / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.1288, allocations: 7.922 kB / 396.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.1289, allocations: 15.88 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1292, allocations: 39.89 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1293, allocations: 55.78 kB / 396.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1295, allocations: 11.98 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.1296, allocations: 19.92 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.1296, allocations: 23.86 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1297, allocations: 0 / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.1297, allocations: 4 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.1297, allocations: 11.92 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1298, allocations: 41.64 kB / 397 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1299, allocations: 44.14 kB / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1299, allocations: 0 / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1299, allocations: 0 / 397 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1299, allocations: 0 / 397 MB, free: 0.6562 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005253/0.1304, allocations: 379 kB / 397.4 MB, free: 244 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1305, allocations: 8.031 kB / 397.4 MB, free: 236 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.1305, allocations: 11.91 kB / 397.4 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1308, allocations: 199.2 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1308, allocations: 8 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.1308, allocations: 3.984 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1311, allocations: 113 kB / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1311, allocations: 4 kB / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1312, allocations: 0 / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1312, allocations: 0 / 397.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.1313, allocations: 23.98 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.1317, allocations: 277.7 kB / 398 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.132, allocations: 81.19 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1321, allocations: 33.7 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1321, allocations: 0 / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1321, allocations: 38.56 kB / 398.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1321, allocations: 0 / 398.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002809/0.1324, allocations: 89.52 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1325, allocations: 85.09 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1326, allocations: 151.1 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1327, allocations: 25.7 kB / 398.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.1327, allocations: 84.14 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.1327, allocations: 15.84 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1327, allocations: 0 / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1329, allocations: 322.8 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.1329, allocations: 19.98 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.133, allocations: 52.22 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1332, allocations: 105 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1332, allocations: 11.92 kB / 399.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.1333, allocations: 89.53 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1334, allocations: 7.984 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1334, allocations: 0 / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1334, allocations: 4.328 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.1335, allocations: 15.94 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1335, allocations: 0 / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1335, allocations: 12.14 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1335, allocations: 4 kB / 399.2 MB, free: 14.14 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (7): * Single equations (assignments): 7 * 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.0001593/0.1337, allocations: 125.6 kB / 399.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/0.1338, allocations: 65.52 kB / 399.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.1339, allocations: 16.23 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1339, allocations: 0 / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1339, allocations: 4 kB / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1339, allocations: 0 / 399.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.1341, allocations: 181.5 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1341, allocations: 4 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.1342, allocations: 23.98 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1342, allocations: 0 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1342, allocations: 0 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1342, allocations: 4 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1342, allocations: 0 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1344, allocations: 188.2 kB / 399.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.1345, allocations: 100.9 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1346, allocations: 0 / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1346, allocations: 4 kB / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.1347, allocations: 0 / 399.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1347, allocations: 4 kB / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.333e-05/0.1348, allocations: 112.6 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1348, allocations: 4 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.135, allocations: 12 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000102/0.1351, allocations: 91.25 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1353, allocations: 51.91 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1353, allocations: 0 / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.1354, allocations: 24.23 kB / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1357, allocations: 48.36 kB / 400.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.1361, allocations: 211.8 kB / 400.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1364, allocations: 0.6973 MB / 401.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1365, allocations: 7.781 kB / 401.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1365, allocations: 23.36 kB / 401.2 MB, free: 12 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1365, allocations: 0 / 401.2 MB, free: 12 MB / 302.1 MB Notification: Performance of Templates: time 0.003088/0.1396, allocations: 0.6746 MB / 401.9 MB, free: 11.32 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1) Environment - environmentSimulation: