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.000886/0.0008859, allocations: 96.75 kB / 15.73 MB, free: 440 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.0009234/0.0009234, allocations: 179 kB / 16.61 MB, free: 6.422 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.517/1.517, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.09517/0.09517, allocations: 12.6 MB / 283.6 MB, free: 8.707 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.0007471/0.0007472, allocations: 24 kB / 344.5 MB, free: 21.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1217, allocations: 50.39 MB / 394.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001971/0.1237, allocations: 1.315 MB / 396.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.1246, allocations: 0.4961 MB / 396.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.1247, allocations: 4 kB / 396.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.1247, allocations: 7.938 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1249, allocations: 7.969 kB / 396.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1252, allocations: 47.83 kB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1253, allocations: 43.88 kB / 396.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1254, allocations: 8 kB / 396.8 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.1255, allocations: 19.92 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.1256, allocations: 23.86 kB / 396.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1256, allocations: 0 / 396.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.1256, allocations: 8 kB / 396.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.1256, allocations: 11.97 kB / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.1257, allocations: 37.64 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.918e-05/0.1258, allocations: 36.16 kB / 397 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1258, allocations: 0 / 397 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1258, allocations: 4 kB / 397 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1258, allocations: 0 / 397 MB, free: 0.7188 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.0005756/0.1264, allocations: 382.9 kB / 397.3 MB, free: 304 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1264, allocations: 16.02 kB / 397.3 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1265, allocations: 7.906 kB / 397.4 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1267, allocations: 199.3 kB / 397.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1267, allocations: 0 / 397.5 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1268, allocations: 4 kB / 397.6 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1271, allocations: 117 kB / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1271, allocations: 3.984 kB / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1271, allocations: 0 / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1271, allocations: 4 kB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.1272, allocations: 27.92 kB / 397.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1276, allocations: 277.8 kB / 398 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.128, allocations: 81.28 kB / 398.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.128, allocations: 0 / 398.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.128, allocations: 34.56 kB / 398.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.128, allocations: 0 / 398.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002848/0.1283, allocations: 93.5 kB / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.1284, allocations: 81.11 kB / 398.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1285, allocations: 147 kB / 398.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1286, allocations: 29.83 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.1286, allocations: 92.14 kB / 398.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1286, allocations: 7.844 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.1287, allocations: 3.938 kB / 398.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1288, allocations: 326.8 kB / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.1289, allocations: 19.92 kB / 398.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.1289, allocations: 52.28 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1291, allocations: 105.1 kB / 399 MB, free: 14.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1291, allocations: 0 / 399 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001714/0.1293, allocations: 97.45 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1293, allocations: 7.938 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1293, allocations: 4 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1293, allocations: 0 / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.1294, allocations: 12 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1294, allocations: 12.12 kB / 399.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1295, allocations: 4 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1295, allocations: 4.156 kB / 399.2 MB, free: 14.23 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.0001557/0.1297, allocations: 129.5 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1298, allocations: 57.59 kB / 399.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1298, allocations: 16.23 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1298, allocations: 0 / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1298, allocations: 0 / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1298, allocations: 4 kB / 399.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.13, allocations: 185.5 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.13, allocations: 4 kB / 399.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1302, allocations: 19.98 kB / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1302, allocations: 0 / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1302, allocations: 4 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1302, allocations: 0 / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1302, allocations: 7.922 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1304, allocations: 194.3 kB / 399.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1305, allocations: 96.94 kB / 399.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1305, allocations: 4 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1306, allocations: 4 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.1306, allocations: 7.984 kB / 399.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1307, allocations: 3.984 kB / 399.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.1307, allocations: 108.6 kB / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1307, allocations: 0 / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.131, allocations: 12 kB / 400 MB, free: 13.28 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.0001122/0.1311, allocations: 99.23 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1313, allocations: 47.92 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1313, allocations: 0 / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.1313, allocations: 20.23 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.1316, allocations: 40.47 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1321, allocations: 215.8 kB / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1324, allocations: 0.7122 MB / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.1325, allocations: 7.781 kB / 401.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.1325, allocations: 11.38 kB / 401.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1325, allocations: 0 / 401.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.003172/0.1357, allocations: 0.6704 MB / 401.8 MB, free: 11.4 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: