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.001391/0.00139, allocations: 106.4 kB / 16.45 MB, free: 6.395 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.00147/0.00147, allocations: 189 kB / 17.39 MB, free: 5.648 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.641/1.641, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.07592/0.07592, allocations: 12.58 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.002853/0.002853, allocations: 91.3 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1316, allocations: 49.4 MB / 443.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.003064/0.1347, allocations: 1.625 MB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1358, allocations: 0.5385 MB / 445.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1359, allocations: 3.938 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.708e-05/0.136, allocations: 3.938 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1362, allocations: 15.86 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1365, allocations: 47.83 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1367, allocations: 59.83 kB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1368, allocations: 23.97 kB / 445.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.1369, allocations: 23.86 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.137, allocations: 23.86 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1371, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.1371, allocations: 4 kB / 445.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1372, allocations: 23.91 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.1372, allocations: 23.81 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1374, allocations: 63.67 kB / 446 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1374, allocations: 4 kB / 446 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1374, allocations: 0 / 446 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1374, allocations: 0 / 446 MB, free: 13.99 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.0006494/0.1381, allocations: 391 kB / 446.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1381, allocations: 12.03 kB / 446.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1382, allocations: 8.844 kB / 446.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1385, allocations: 192.7 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1385, allocations: 4.375 kB / 446.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1385, allocations: 8.125 kB / 446.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.1389, allocations: 121 kB / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1389, allocations: 0 / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.139, allocations: 0 / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.139, allocations: 4 kB / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1391, allocations: 23.97 kB / 446.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.1396, allocations: 285.6 kB / 447.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.14, allocations: 73.19 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.14, allocations: 25.78 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1401, allocations: 4 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.1401, allocations: 38.48 kB / 447.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1401, allocations: 3.938 kB / 447.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002995/0.1404, allocations: 85.52 kB / 447.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.1406, allocations: 88.95 kB / 447.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1407, allocations: 150.5 kB / 447.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1407, allocations: 25.7 kB / 447.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.1408, allocations: 96.12 kB / 447.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1408, allocations: 7.891 kB / 447.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1409, allocations: 17.72 kB / 447.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.1411, allocations: 326.8 kB / 448 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.1412, allocations: 15.98 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.1413, allocations: 48.28 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1415, allocations: 153.3 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1415, allocations: 3.938 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001673/0.1417, allocations: 85.52 kB / 448.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1417, allocations: 8 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1417, allocations: 0 / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1417, allocations: 4 kB / 448.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.1418, allocations: 15.92 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1418, allocations: 8.156 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1419, allocations: 7.938 kB / 448.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1419, allocations: 0 / 448.3 MB, free: 11.39 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.000152/0.1421, allocations: 125.8 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1422, allocations: 53.59 kB / 448.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1422, allocations: 12.25 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1422, allocations: 0 / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1422, allocations: 3.938 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1423, allocations: 7.938 kB / 448.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1425, allocations: 181.6 kB / 448.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1425, allocations: 4 kB / 448.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1426, allocations: 24.34 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1426, allocations: 0 / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1426, allocations: 0 / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1426, allocations: 4 kB / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1426, allocations: 0 / 448.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1429, allocations: 188.1 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.1429, allocations: 93 kB / 449 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.143, allocations: 7.938 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.1431, allocations: 7.922 kB / 449 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1431, allocations: 4 kB / 449 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1431, allocations: 7.938 kB / 449 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.1432, allocations: 115.9 kB / 449.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1432, allocations: 0 / 449.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1435, allocations: 12 kB / 449.2 MB, free: 10.45 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.0001344/0.1436, allocations: 99.19 kB / 449.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1439, allocations: 47.91 kB / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1439, allocations: 0 / 449.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.1439, allocations: 8 kB / 449.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1443, allocations: 36 kB / 449.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.1448, allocations: 192.9 kB / 449.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1452, allocations: 0.6963 MB / 450.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.1453, allocations: 4 kB / 450.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.1453, allocations: 7.438 kB / 450.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1453, allocations: 0 / 450.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of Templates: time 0.004288/0.1496, allocations: 0.7842 MB / 451 MB, free: 8.516 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)