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.00151/0.00151, 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.001507/0.001508, 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.477/1.477, 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.07628/0.07628, 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.001887/0.001887, allocations: 90.91 kB / 394.1 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1256, allocations: 49.41 MB / 443.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.003818/0.1295, allocations: 1.614 MB / 445.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1309, allocations: 0.5346 MB / 445.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1311, allocations: 4 kB / 445.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.247e-05/0.1312, allocations: 11.92 kB / 445.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1314, allocations: 11.86 kB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1318, allocations: 47.83 kB / 445.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.132, allocations: 55.84 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1321, allocations: 19.97 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.1322, allocations: 31.78 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1323, allocations: 27.86 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1323, allocations: 4 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.1323, allocations: 4 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.1324, allocations: 15.92 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1325, allocations: 27.81 kB / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1326, allocations: 63.73 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1326, allocations: 0 / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1326, allocations: 0 / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1326, allocations: 3.938 kB / 446 MB, free: 14.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007283/0.1334, allocations: 395 kB / 446.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1334, allocations: 12.03 kB / 446.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.1335, allocations: 8.844 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1339, allocations: 200.7 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1339, allocations: 384 / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1339, allocations: 8.125 kB / 446.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1343, allocations: 117 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1343, allocations: 3.984 kB / 446.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1343, allocations: 0 / 446.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1343, allocations: 4 kB / 446.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.1344, allocations: 23.92 kB / 446.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.135, allocations: 281.7 kB / 447.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.1354, allocations: 77.12 kB / 447.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.1355, allocations: 25.78 kB / 447.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1355, allocations: 7.984 kB / 447.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1355, allocations: 34.5 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1356, allocations: 0 / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003349/0.1359, allocations: 89.5 kB / 447.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.136, allocations: 89 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1362, allocations: 142.4 kB / 447.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1362, allocations: 29.83 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.1363, allocations: 96.12 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1363, allocations: 3.906 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.1364, allocations: 21.72 kB / 447.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1366, allocations: 322.8 kB / 448 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.392e-05/0.1366, allocations: 15.98 kB / 448 MB, free: 11.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.1367, allocations: 52.22 kB / 448 MB, free: 11.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.1369, allocations: 149.3 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.137, allocations: 4 kB / 448.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.1371, allocations: 93.45 kB / 448.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1372, allocations: 4 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1372, allocations: 0 / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1372, allocations: 4 kB / 448.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1373, allocations: 11.98 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1373, allocations: 4 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.1373, allocations: 12.09 kB / 448.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1374, allocations: 0 / 448.3 MB, free: 11.41 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1375, allocations: 121.8 kB / 448.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1376, allocations: 61.53 kB / 448.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1377, allocations: 12.25 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1377, allocations: 3.938 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1377, allocations: 0 / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.1377, allocations: 11.92 kB / 448.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1379, allocations: 177.6 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.138, allocations: 4 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1381, allocations: 19.97 kB / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1381, allocations: 0 / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.1381, allocations: 4 kB / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1381, allocations: 0 / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1381, allocations: 4 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1384, allocations: 188.1 kB / 448.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/0.1385, allocations: 96.94 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1385, allocations: 4 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1386, allocations: 3.984 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.1386, allocations: 4 kB / 449 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1387, allocations: 7.938 kB / 449 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.1388, allocations: 115.9 kB / 449.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1388, allocations: 0 / 449.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000234/0.139, allocations: 8 kB / 449.1 MB, free: 10.48 MB / 334.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 (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.0001474/0.1392, allocations: 99.25 kB / 449.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1394, allocations: 47.91 kB / 449.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1394, allocations: 0 / 449.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1395, allocations: 15.92 kB / 449.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.1399, allocations: 32.02 kB / 449.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.1403, allocations: 189.5 kB / 449.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.1408, allocations: 0.6963 MB / 450.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.1408, allocations: 7.984 kB / 450.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1409, allocations: 11.42 kB / 450.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1409, allocations: 4 kB / 450.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of Templates: time 0.003981/0.1449, allocations: 0.8035 MB / 451 MB, free: 8.512 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (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)